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
Others probably know this, but I have just discovered that Py5 and javafx code may be run from the cmd-line (macos). Terminal recognizes the command 'py5-run-sketch'. Migrate to the folder with all your py5 code and type 'py5-run-sketch myFile.py' in Terminal and it runs. There is no need to use Thonny; you can use whatever editor you want. I used XCode since it opens my .py files by default. The debugging output in Terminal is quite helpful if there is a problem with the code.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Others probably know this, but I have just discovered that Py5 and javafx code may be run from the cmd-line (macos). Terminal recognizes the command 'py5-run-sketch'. Migrate to the folder with all your py5 code and type 'py5-run-sketch myFile.py' in Terminal and it runs. There is no need to use Thonny; you can use whatever editor you want. I used XCode since it opens my .py files by default. The debugging output in Terminal is quite helpful if there is a problem with the code.

Beta Was this translation helpful? Give feedback.
All reactions