Ok, it's clear already that the OP has a csv file so the following is 
OFF-TOPIC. I was reading Python Cookbook and I saw a recipe to read fixed width 
files using struct.unpack. Much shorter and faster (esp. if you use compiled 
structs) than indexing. I thought this is a pretty cool approach: 
http://code.activestate.com/recipes/65224-accessing-substrings/.

regards,
Albert-Jan

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to