reading a column from a file

Larry Bates larry.bates at websafe.com
Mon May 8 15:57:07 CEST 2006


Check out the csv module.

-Larry Bates

Gary Wessle wrote:
> Hi
> 
> I have a file with data like
> location pressure temp
> str       floot    floot
> 
> I need to read pressure and temp in 2 different variables so that I
> can plot them as lines. is there a package which reads from file with
> a given formate and returns desired  variables? or I need to open,
> while not EOF read, parse, build list, return?
> 
> thanks



More information about the Python-list mailing list