Gary Herron wrote:
First of all, some terminology: You are not *calling* a file, you are
*opening* it or reading.
Wouldn't it be more correct to say that, in python, you either create a file
object, or call a method for that object, once the object has been created ?
Yves.
--
http://mail.
En Sat, 10 May 2008 12:32:47 -0300, Gary Herron <[EMAIL PROTECTED]> escribió:
> Chris Sprinkles wrote:
>> 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
Chris Sprinkles wrote:
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:
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
---