Reading a tab delimited text file.

Stephen sedelblut at
Mon Feb 23 16:45:31 EST 2009


I would like to read a text file of numbers produced by a data
acquisition system into three vectors of doubles. The contents of the
file are:

+0.0000000e+0	+2.7645134e+1	+2.7745625e+1

+0.4100041e-1	+2.7637787e+1	+2.7731047e+1

+0.0820008e+0	+2.7645134e+1	+2.7750483e+1



I would like to read the first column into time_vec, second into
ch1_vec and so on.

(I have never programmed in python and am having trouble finding a way
to do this).


More information about the Python-list mailing list