Re: [Tutor] Saving Entry fields in Tkinter

2005-03-01 Thread Michael Lange
On Tue, 1 Mar 2005 12:52:57 +0100 Ewald Ertl <[EMAIL PROTECTED]> wrote: > Hi! > > Perhaps this could help you: > > fileContent=open( "my/file/to/read", "r").readlines() > > for line in fileContent: > print line.strip() # remove leading and trailing whitspace's incl. \n > > > In the l

Re: [Tutor] Saving Entry fields in Tkinter

2005-03-01 Thread Ewald Ertl
Hi on Tue, 1 Mar 2005 15:31:10 + Adam Cripps <[EMAIL PROTECTED]> wrote : - Adam Cripps > > Adam Cripps > Thanks Ewald - this is what I have so far, with a far from perfect result: Adam Cripps >

Re: [Tutor] Saving Entry fields in Tkinter

2005-03-01 Thread Adam Cripps
On Tue, 1 Mar 2005 15:31:10 +, Adam Cripps <[EMAIL PROTECTED]> wrote: > On Tue, 1 Mar 2005 15:30:02 +, Adam Cripps <[EMAIL PROTECTED]> wrote: > > On Tue, 1 Mar 2005 12:52:57 +0100, Ewald Ertl <[EMAIL PROTECTED]> wrote: > > > Hi! > > > > > > Perhaps this could help you: > > > > > > fileConte

Re: [Tutor] Saving Entry fields in Tkinter

2005-03-01 Thread Adam Cripps
On Tue, 1 Mar 2005 15:30:02 +, Adam Cripps <[EMAIL PROTECTED]> wrote: > On Tue, 1 Mar 2005 12:52:57 +0100, Ewald Ertl <[EMAIL PROTECTED]> wrote: > > Hi! > > > > Perhaps this could help you: > > > > fileContent=open( "my/file/to/read", "r").readlines() > > > > for line in fileContent: > >

Re: [Tutor] Saving Entry fields in Tkinter

2005-03-01 Thread Ewald Ertl
Hi! Perhaps this could help you: fileContent=open( "my/file/to/read", "r").readlines() for line in fileContent: print line.strip() # remove leading and trailing whitspace's incl. \n In the loop you could perhaps populate the entry-widgets. HTH Ewald on Tue, 1 Mar 2005 09:22:0

[Tutor] Saving Entry fields in Tkinter

2005-03-01 Thread Adam Cripps
I'm writing an application which has rows of Entry fields (created in a loop - see previous thread; and thanks guys!). All the content of the Entry fields are accessed through self.contentlist[i].get() Now I'm trying to save the content of those fields in a friendly format. I've used pickle in the