Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for sravan953

[CODE]# A simple calculator x=input("What do you want to do? \n 1) Add \n 2) Subtract \n 3) Multiply \n 4) Divide \n") #This is a comment, note that single line comments start with a hash '#' """'x' is a variable. The 'input' statement accepts a number where as the …

Member Avatar for mak.smash
0
953
Member Avatar for tehbrozor

Hello! I am trying to display a FITS image, if your not familiar with the extension its fine (gtk.Image.new_from_file() isn't either). I can get my image data to a numpy array (2D (256x256 to be exact)) I am having the most difficult time getting this into a grayscale image. I've …

Member Avatar for tehbrozor
0
231
Member Avatar for tehbrozor

Hello, I am trying to make a GUI interface for a plotting routine written with matplotlib. The GUI is in PyGtk. One of the things I would like to have is a cross hair through the mouse cursor (a vertical and horizontal line intersecting at the mouse) which moves along …

Member Avatar for tehbrozor
0
422
Member Avatar for tehbrozor

Hello, I am trying to write a GUI front (with tcl/tk) for a python module. Unfortunately the module takes parameters and I don't know how to call a python module with parameters without going into interactive mode (I'm running Debian) I can get tcl to run a test module with …

Member Avatar for jlm699
0
155
Member Avatar for tehbrozor

Hello, I am creating a figure with matplotlib and want the legend background to be transparent, I did this with: [code] lg = matplotlib.pyplot.legend(labels,markerscale=0) lg.legendPatch.set_alpha(0.0) [/code] And when i ran it it works but when I save it to an eps (which is the format I need it in) The …

0
53
Member Avatar for tehbrozor

Hello, The situation here is I have a file and each line has a 8 digit number in it (aorkey) the file is called target.lst In another file (file.lst) there are tons of paths in each path there is an aorkey (somewhere its not always in the same place and …

Member Avatar for tehbrozor
0
99
Member Avatar for tehbrozor

Hello, I am trying to label the axes of an array of subplots. The units of each plot are the same so I would like to just label each axis once. The array is of in determinate size. For odd numbered rows/cols I just use ylabel/xlabel on the middle row …

Member Avatar for tehbrozor
0
76
Member Avatar for tehbrozor

hi, Im running debian/ubuntu linux and am trying to get a script/module that runs each time python is called from terminal. I am trying to write scripts that use Scipy,numPy,pyLab, etc and am trying to have all those packages import automatically each time python starts. I am not new to …

Member Avatar for tehbrozor
0
129