[Tutor] read in ascii and plot

questions anon questions.anon at gmail.com
Tue Dec 1 00:55:10 CET 2009


I would like to read in two columns of data from a *.txt file

I type

f=open("e:/testascii.txt")
import pylab
pylab.scatter(f)

and then receive an error.
How do I point it to each column and do I need to do anything about the
space gap between the two columns?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091130/4c69a078/attachment.htm>


More information about the Tutor mailing list