Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Python rules execution

31 views
Skip to first unread message

roberto porcelli

unread,
Apr 23, 2025, 11:25:02 AMApr 23
to Blockly
Hi all, if I decide to use python as the target language, in which I generate the code of custom blocks, does the system allow to simulate the rules on the fly? If I understand correctly, the execution of the rules occurs client-side on the browser, but I don't think that python is executable on the client.
Maybe I need to implement code generation in javascript too?
Thanks a lot, Roberto

Mark Friedman

unread,
Apr 23, 2025, 1:08:27 PMApr 23
to blo...@googlegroups.com
Roberto,

  There are a couple of Python-in-the-browser implementations that I know of: Pyodide and PyScript (which is built on top of Pyodide and provides for somewhat easier integration).

  Hope this helps.

-Mark


--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/blockly/daf10646-9803-47ce-8ae2-9b0f9fa10489n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages