Loading a Python collection from an text-file

Magnus Lycka lycka at carmen.se
Fri Jan 27 13:38:02 CET 2006

Ilias Lazaridis wrote:
> within a python script, I like to create a collection which I fill with 
> values from an external text-file (user editable).
If a spreadsheet like layout fits, use the csv module and
a plain comma separated file.

Then the end user can also use e.g. Excel to edit the data.

More information about the Python-list mailing list