Emile is rigth, there should be a () there.
I'm sorry, im writing this from my cellphone and there's not a pc around XD.
I didn,t know about the csv module either and had to do over complicated things
to deal with embedded commas, thx for that too :).
--
Amin Rainmaker--- Begin Message ---
S Pyt
If your list is in the format:
aaa,bbb,ccc
You can use
foo = in_file.readline.split(',')
--
Amin Rainmaker--- Begin Message ---
Hi Everyone,
I am trying to read a comma-delimitted list ("aaa","bbb","ccc") from a text
file and assign those values to a list, x, such that:
x = ["aaa", "bbb", "ccc"
The python interpreter can give you this information; just type:
import sys
for i in sys.path:
print i
And search in the lib directories it shows.
You might also be interested in the std library reference at docs.python.org.
--
Amin Rainmaker--- Begin Message ---
I'd like to spend some time