Gotcha. Thanks!
Magdoll
On Nov 19, 2:57 am, Tim Chase <[EMAIL PROTECTED]> wrote:
> Magdoll wrote:
> > I was trying to map various locations in a file to a dictionary. At
> > first I read through the file using a for-loop, buttell() gave back
> > weird results, so I switched to while, then it work
Magdoll wrote:
I was trying to map various locations in a file to a dictionary. At
first I read through the file using a for-loop, but tell() gave back
weird results, so I switched to while, then it worked.
The for-loop version was something like:
d = {}
for line
On Nov 19, 7:00 am, Magdoll <[EMAIL PROTECTED]> wrote:
> I was trying to map various locations in a file to a dictionary. At
> first I read through the file using a for-loop, but tell() gave back
> weird results, so I switched to while, then it worked.
>
> The for-loop version was something like:
>