Re: Looking for a General Method to Configure Tkinter Widgets

2009-03-03 Thread W. eWatson
W. eWatson wrote: odeits wrote: On Mar 2, 7:14 am, "W. eWatson" wrote: I'm modifying a Tkinter Python program that uses hard coded initial values for several widgets. For example, latitude = 40. My plan is to put the names and values for configuration purposes into a file. For example, a pse

Re: Looking for a General Method to Configure Tkinter Widgets

2009-03-03 Thread Rhodri James
On Tue, 03 Mar 2009 18:58:47 -, W. eWatson wrote: I'm probably confused too. Let's try this. In s=dialog.stopVar.get() I'd like to eliminate the statement and replace it with something like: s="dialog." + "stopV.get()" )and execute that--I'm aware of the exec

Re: Looking for a General Method to Configure Tkinter Widgets

2009-03-03 Thread W. eWatson
odeits wrote: On Mar 2, 7:14 am, "W. eWatson" wrote: I'm modifying a Tkinter Python program that uses hard coded initial values for several widgets. For example, latitude = 40. My plan is to put the names and values for configuration purposes into a file. For example, a pseudo statement like th

Re: Looking for a General Method to Configure Tkinter Widgets

2009-03-02 Thread odeits
On Mar 2, 7:14 am, "W. eWatson" wrote: > I'm modifying a Tkinter Python program that uses hard coded initial values > for several widgets. For example, latitude = 40. My plan is to put the names > and values for configuration purposes into a file. For example, a pseudo > statement like the one jus

Looking for a General Method to Configure Tkinter Widgets

2009-03-02 Thread W. eWatson
I'm modifying a Tkinter Python program that uses hard coded initial values for several widgets. For example, latitude = 40. My plan is to put the names and values for configuration purposes into a file. For example, a pseudo statement like the one just given. ConfigObj provides a mechanism for i