vim --> python

Andreas Steffen AndreasStud at gmx.de
Sun Jul 6 04:45:14 EDT 2003


Hi,
how can I adress the lines, which I send as input from vim to a python
script (in python):

for example - :1,10!python script.py

Probably the same problem:
how can I adress something which is piped into a python script?
cat text.txt | python script.py
Thanks in advance, Andreas.




More information about the Python-list mailing list