Re: A problem from a Vim user

2006-08-28 Thread Dasn
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

Re: A problem from a Vim user

2006-08-27 Thread Dasn
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:

Re: A problem from a Vim user

2006-08-07 Thread BartlebyScrivener
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 ;)

Re: A problem from a Vim user

2006-08-07 Thread Luis Armendariz
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

A problem from a Vim user

2006-08-07 Thread manuhack
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