Trying to read from a text file to generate a graph

Anssi Saari as at sci.fi
Thu Jul 29 03:29:46 EDT 2021


"Steve" <Gronicus at SGA.Ninja> writes:

> I am going though a struggle with this and just don't see where it fails.

It seems to me you're putting your data into strings when you need to
put it into lists. And no, adding brackets and commas to your strings so
that printing out the strings makes them look like lists doesn't make
them into lists.

There's python tutorial at https://docs.python.org/3/tutorial/index.html
which may help with the basics.



More information about the Python-list mailing list