I'm still having trouble with calling a text file and I know its so simple
here is the code
----------------------------------------------------
work = open('C:\Documents and Settings\Administrator\My
Documents\Chris\Python\Python\work.txt', 'r')
for line in work.txt:
    print line
-----------------------------------------------------
Ok so I know that the directory is right cause I'm not a complete idiot but
I keep getting an error? What am I missing here?
-Chris-
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to