A problem from a Vim user

Luis Armendariz luis at geodynamics.org
Mon Aug 7 18:46:38 EDT 2006


manuhack wrote:
> 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 within vim without raising errors?
> 
> Thanks a lot.
> 

You should read :help python-input

On my version (Vim 7.0.17), it says that input() and raw_input() are
not yet supported.

So, submit a patch to the vim folks!

-Luis



More information about the Python-list mailing list