You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you very much for a good program under a free open source license! Added a program to a Russian-language site about free software, here is the link.
The project is interesting, so please don't abandon it!
The only question is how to run a python script directly from the editor?
The text was updated successfully, but these errors were encountered:
Hello @mrkaban ,
Thank you very much for the kind words and support.
It will not be abandoned, no worries, as I use it for work every day,
The way a script from a file can currently be run is in the REPL using: run_command("python path/to/my_script.py") or the shorthand rc: python path/to/my_script.py. But that uses the system's Python interpreter, are you asking for a way to run a script with ExCo's python? That can be added as a built-in function if needed.
But if you just need to run code, Ctrl+5 brings up the multiline REPL, paste the code in and press Ctrl+Enter or Return (the small Enter on the right of the arrow keys). Note that some built-in functions are overridden, like open, print, ... For example, to print a message to the REPL MESSAGES window use the echo function.
Example:
This could probably be improved, as discoverability of the Multiline REPL is not that obvious. If you have any suggestions, let me know.
Hello, thank you very much for a good program under a free open source license! Added a program to a Russian-language site about free software, here is the link.
The project is interesting, so please don't abandon it!
The only question is how to run a python script directly from the editor?
The text was updated successfully, but these errors were encountered: