Hi,

I have a text file containing a single line of text, such as
0024

How should I read it into a "list"?

I tried this, but the "join" did not work as expected. Any
suggestions?

infile = open('my_file.txt','r')
for line in infile:
        line.join(line)
        my_list.extend( line )

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to