How about write mode? Changing r to w doesn't work...
[EMAIL PROTECTED] wrote:
> manuhack wrote:
> > I copied the lines
> >
> > f=open('/tmp/workfile', 'w')
> > print f
> > f.close()
> >
> > from Python 2.4 Documentation 7.2. But it said IOerror No such file or
> > directory" '/tmp/workfile'
> >
> > Is it something about the os? I'm using Python 2.4 under WinXP.
> > Thanks. Without / I can open it.
>
>
> f=open(r'c:\blah\blah').read()-- http://mail.python.org/mailman/listinfo/python-list
