On Mon, Apr 10, 2017 at 5:23 AM, lewis <[email protected]> wrote:
> The script below works in both Leo's python console and IDLE. But doesn't > execute with Ctrl-B or with script-button; I don't get any errors to log, > or output to console. > > import os > os.listdir(path="C:/Users/") > > Can anyone explain why? > Leo's Ctrl-B does not automatically print its results. It's not a read-eval-print-loop. Try: print(os.listdir(...)) 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.
