On Sun, Aug 27, 2006 at 07:10:06AM -0500, Dasn wrote:
> vim.command('let vim_str=input("Please type something.\n")')
> py_str = vim.eval('vim_str')
py_str = vim.eval('input("Please type something.\n")')
may be better.
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Aug 07, 2006 at 10:59:01AM -0700, 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:
manuhack wrote:
> 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?
I thought you might get more help here than in comp.editors ;)
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 t
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