Mike Hoy wrote:
> is it possible to take information contained inside a text file and put
> it into a list? My text file contains info derived from a list so it
> looks like this: ['foo','bar'].
If the file is Python syntax (including an assignment) you can import it
directly. Or try one of the
is it possible to take information contained inside a text file and put
it into a list? My text file contains info derived from a list so it
looks like this: ['foo','bar'].
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo