When I use raw_input('Please type something.\n') in the python 2.4
command line windows, it doesn't have any problem. However, when I run
the same command in vim 7 as :py raw_input('Please type something.\n'),
there is an EOFError: EOF when reading a line. Is there a way to use
that command withi
Then is there any way to create a directory under XP using Python?
Rick Zantow wrote:
> "manuhack" <[EMAIL PROTECTED]> wrote in news:1153981114.837884.232610
> @p79g2000cwp.googlegroups.com:
>
> > I copied the lines
> >
> > f=open('/tmp/workfi
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
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.
--
http://mail.python.org/mail