print to emacs buffer?

Jeff Sandys sandysj at juno.com
Thu Oct 25 20:27:00 CEST 2001


Is there an easy way to get a python 
script to print to an emacs buffer?

So when I enter 'python my-script.py'
at the unix prompt in an emacs shell 
the output of the print statements 
goes to a separate (python-output) 
buffer instead of the shell buffer.

If it helps, I am using emacs 19.34.1 
(I don't have a choice about this!) 
and python-mode 3.105.

Thanks,
Jeff Sandys



More information about the Python-list mailing list