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
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 >
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
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:
> >
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
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