Checkout py5 on Thonny!

83 views
Skip to first unread message

Alexandre Villares

unread,
Aug 14, 2021, 9:02:34 AM8/14/21
to thonny
After my clumsy attempt at making a Thonny plug-in to help students run py5 based code in "imported mode", Tristan "tabreturn" Bunn has made a proper plugin!


py5 is a wonderful new Python 3 + Processing Java tool: https://py5.ixora.io/
- "Imported mode" is one of the ways of getting started with it, it makes it more similar to Processing in that you don't need the module prefix on every API call, but you still get some "magic" global environment variables (like mouse_x, mouse_y) and free event bindings.

People can grow out of "imported mode" into "module mode" or "class mode" and have a more standard Python development experience. And then use standard Thonny run/execute button instead of the "special" py5 imported mode run command added by the plug-in! Tristan's pug-in is in it's initial development stages but it already installs the needed JDK and py5 library.

If I get lucky and get a spot to speak about education at the Brazilian Pycon (it's called Python Brasil because some people tended to think the language was called Pycon) I plan to show off some Thonny + py5.

To end this already enormous message, I'd like to add that py5's maintainer, Jim "h2xA" Schmitz could use some help making the lib work better on MacOS. At this point it fully works only as a Jupyter Notebook kernel in the Apple platform.

best regards,
Alexandre


---



Reply all
Reply to author
Forward
0 new messages