A
Ant
Hi all,
There's a sweet combination of tools that you can assemble using Vim,
a Python shell (or any shell for that matter) and GNU screen, where
you essentially send selected text from Vim to the Python shell. (See
http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/ for
more details - though I had to tweak the script a bit to get it to
work on Windows - line ending interpretation problem)
This works great in Linux, and also in Windows using the Cygwin build
of Python, but when you call:
screen -S py -s python
using the Windows build of Python, the shell just hangs. Does anyone
know if this is a known issue with screen/Python, or if there is a
workaround, as I'd prefer to have just a single Python instance
installed rather than having Cygwin python and windows Python both
installed.
Cheers,
Ant.
There's a sweet combination of tools that you can assemble using Vim,
a Python shell (or any shell for that matter) and GNU screen, where
you essentially send selected text from Vim to the Python shell. (See
http://technotales.wordpress.com/2007/10/03/like-slime-for-vim/ for
more details - though I had to tweak the script a bit to get it to
work on Windows - line ending interpretation problem)
This works great in Linux, and also in Windows using the Cygwin build
of Python, but when you call:
screen -S py -s python
using the Windows build of Python, the shell just hangs. Does anyone
know if this is a known issue with screen/Python, or if there is a
workaround, as I'd prefer to have just a single Python instance
installed rather than having Cygwin python and windows Python both
installed.
Cheers,
Ant.