On Sat, Jul 16, 2016 at 5:15 AM, 'tfer' via leo-editor < [email protected]> wrote:
> From a terminal/console try: > > > pythonw > > .\launchLeo.py 1>stdout.txt 2>stderr.txt > > This worked for me, reference < > http://stackoverflow.com/questions/9705982/pythonw-exe-or-python-exe> > Thanks for this. It does work for me on Windows 10. For example: from __future__ import print_function # python 2.x. import sys for i in range(10): print(i, file=sys.stderr) It would best if Leo worked out of the box with pythonw without the need for redirection. I'll look into it. This should be feasible: most calls to stdout/stderr happen from just a few places: g.es, g.es_print, etc., which funnel into g.pr. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
