Re: [Tutor] A CSV field is a list of integers - how to read it as such?

2013-03-03 Thread Steven D'Aprano
On 04/03/13 17:48, DoanVietTrungAtGmail wrote: Don, Dave - Thanks for your help! Don: Thanks! I've just browsed the AST documentation, much of it goes over my head, but the ast.literal_eval helper function works beautifully for me. Dave: Again, thanks! Also, you asked "More space efficient than

Re: [Tutor] A CSV field is a list of integers - how to read it as such?

2013-03-03 Thread DoanVietTrungAtGmail
Don, Dave - Thanks for your help! Don: Thanks! I've just browsed the AST documentation, much of it goes over my head, but the ast.literal_eval helper function works beautifully for me. Dave: Again, thanks! Also, you asked "More space efficient than what?" I meant .csv versus dict, list, and objec

Re: [Tutor] A CSV field is a list of integers - how to read it as such?

2013-03-03 Thread Dave Angel
On 03/03/2013 09:24 PM, DoanVietTrungAtGmail wrote: Dear tutors I am checking out csv as a possible data structure for my records. In each record, some fields are an integer and some are a list of integers of variable length. I use csv.DictWriter to write data. When reading out using csv.DictRea

Re: [Tutor] A CSV field is a list of integers - how to read it as such?

2013-03-03 Thread Don Jennings
On Mar 3, 2013, at 9:24 PM, DoanVietTrungAtGmail wrote: > Dear tutors > > I am checking out csv as a possible data structure for my records. In each > record, some fields are an integer and some are a list of integers of > variable length. I use csv.DictWriter to write data. When reading out u

Re: [Tutor] Need a mentor, Any help would be great

2013-03-03 Thread Russel Winder
On Sun, 2013-03-03 at 13:51 +0100, Kwpolska wrote: > On Sun, Mar 3, 2013 at 10:55 AM, Russel Winder wrote: > > On Sun, 2013-03-03 at 08:29 +, Alan Gauld wrote: > > […] > >> Once comfortable go to SourceForge and find something in Python you can > >> contribute too. Testing and Bug fixing is of

Re: [Tutor] Need a mentor, Any help would be great

2013-03-03 Thread Kwpolska
On Sun, Mar 3, 2013 at 10:55 AM, Russel Winder wrote: > On Sun, 2013-03-03 at 08:29 +, Alan Gauld wrote: > […] >> Once comfortable go to SourceForge and find something in Python you can >> contribute too. Testing and Bug fixing is often a good place to start. > > Probably should flag BitBucket

Re: [Tutor] Need a mentor, Any help would be great

2013-03-03 Thread Russel Winder
On Sun, 2013-03-03 at 08:29 +, Alan Gauld wrote: […] > Once comfortable go to SourceForge and find something in Python you can > contribute too. Testing and Bug fixing is often a good place to start. Probably should flag BitBucket and GitHub as well ? -- Russel. ===

Re: [Tutor] Need a mentor, Any help would be great

2013-03-03 Thread bessenkphilip
Hello, Thank you very much for the help -Bessen On 03/03/2013 01:59 PM, Alan Gauld wrote: On 03/03/13 01:48, bessenkphilip wrote: Thanks for the "Welcome". I'm now working as a System admin in Linux I've got 2 to 3 hrs a day to learn python. In that case I'd start with the official tutoria

Re: [Tutor] Need a mentor, Any help would be great

2013-03-03 Thread Alan Gauld
On 03/03/13 01:48, bessenkphilip wrote: Thanks for the "Welcome". I'm now working as a System admin in Linux I've got 2 to 3 hrs a day to learn python. In that case I'd start with the official tutorial on python.org. Its targeted at people with a little bit of programming experience moving