hi all,
what's the most efficient / preferred python way of parsing tab separated
data into arrays? for example if i have a file containing two columns one
corresponding to names the other numbers:
col1\t col 2
joe\t 12.3
jane \t 155.0
i'd like to parse into an array() such that
per freem wrote:
hi all,
what's the most efficient / preferred python way of parsing tab
separated data into arrays? for example if i have a file containing two
Check out the python csv module. Documentation at
http://docs.python.org/library/csv.html
JLS
On Fri, Mar 13, 2009 at 5:18 PM, per freem perfr...@gmail.com wrote:
hi all,
what's the most efficient / preferred python way of parsing tab separated
data into arrays? for example if i have a file containing two columns one
corresponding to names the other numbers:
col1\t col 2