Re: converting latitude and longitude

2009-11-13 Thread ezd
On Nov 13, 2:25 pm, MRAB wrote: > Ronn Ross wrote: > > > I'm attempting to convert latitude and longitude coordinates from ... > > Does anyone know of a library or some existing out their to help with > > this conversion? > Some time ago I saw file named LLUTM... for such conversions with more tha

Re: Tkinter text widget

2007-10-07 Thread ezd
On Oct 6, 11:18 pm, goldtech <[EMAIL PROTECTED]> wrote: > I thought the "DISABLED" made it so I could not edit it. But it also > makes it so I can not scroll down. If you make the window smaller than > the content then try to put a cursor in there to use up/down arrow you > can't. > > What I want i

Re: Tablelist 4.3

2006-03-30 Thread ezd
usual .py file. The documentation in the script is only a part of original tcl documentation, you may need more. 3. import & enjoy 4. there are some annoying errors in the version (like inconsistent returned types of some methods,...) ezd -- http://mail.python.org/mailman/listinfo/python-list

Command line arguments question (Windows XP)

2006-03-21 Thread ezd
Hi, I run simple script # u.py import sys print 'args',sys.argv in "Command Prompt" window, with 2 command lines on 2 PCs: # Case (1L): C:\tmp> u.py a b c args ['C:\\tmp\\u.py'] # Case (1D): C:\tmp> u.py a b c args ['C:\\tmp\\u.py', 'a', 'b', 'c'] # Cases (2L) & (2D): C:\tmp> C:\Python24\pytho

Re: TKinter problem

2006-03-21 Thread ezd
is a keyword in python 2.4 IDE root.destroy() def DisplayUpdate(self): fd = open('table.txt') lines = fd.read() fd.close() self.text.config(state=NORMAL) self.text.delete(1.0, END) self.text.insert(END, lines) self.text.config(state=DISABLED) # previous 4 lines are to make the text READONLY, see more in: # http://www.pythonware.com/library/tkinter/introduction/x8309-patterns.htm root = Tk() root.option_add('*font', ('arial', 10)) all = MoC(root) root.title('2D Method of Characteristics') root.update root.mainloop() ezd -- http://mail.python.org/mailman/listinfo/python-list