Re: Opening File Object

2009-12-21 Thread Benjamin Kaplan
On Mon, Dec 21, 2009 at 11:48 AM, Ray Holt wrote: > I use the following code: > fileobject = open("e:\\Ray Holts Documents\\Word Documents\\1850 Warren MS > Jenkins", 'y') > line = fileobject.readline() > > I get the following error message:Traceback (most recent call last): >   File "C:/Python26/

Re: Opening File Object

2009-12-21 Thread MRAB
Ray Holt wrote: I use the following code: fileobject = open("e:\\Ray Holts Documents\\Word Documents\\1850 Warren MS Jenkins", 'y') line = fileobject.readline() I get the following error message:Traceback (most recent call last): File "C:/Python26/Reading_and_Writing_Files", line 5, in

Opening File Object

2009-12-21 Thread Ray Holt
I use the following code: fileobject = open("e:\\Ray Holts Documents\\Word Documents\\1850 Warren MS Jenkins", 'y') line = fileobject.readline() I get the following error message:Traceback (most recent call last): File "C:/Python26/Reading_and_Writing_Files", line 5, in fileobject = open("