[Tutor] arrangement of datafile

Evans Anyokwu onyxtic at gmail.com
Fri Dec 27 19:15:53 CET 2013


One thing that I've noticed is that there is no structure to your data.
Some have missing *fields* -so making the use of regex out of the question.

Without seeing your code, I'd suggest saving the data as a separated value
file and parse it. Python has a good csv support.

Get this one sorted out first then we can move on to the nested list.

Good luck.
Evans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131227/7fc60a9a/attachment.html>


More information about the Tutor mailing list