Hello,
I just found PN, sorry for a newbie quiestion:
Is it possible to run current buffer (preferably without saving) in Python and display Python's output in PN?
Thanks a lot!
Hello,
I just found PN, sorry for a newbie quiestion:
Is it possible to run current buffer (preferably without saving) in Python and display Python's output in PN?
Thanks a lot!
Yes, set up a tool and point it at python.exe, then use the Input/Output tab to capture the output. I'm not sure if you can do it with unsaved text, but you could try passing your script to python on standard input (same options page). You may need to pass an extra parameter to python to tell it to expect the input.
You must log in to post.