Running python in web browser

243 views
Skip to first unread message

Sachin Sharma

unread,
Apr 21, 2020, 11:25:52 AM4/21/20
to Blockly
Hey, I have made my custom blocks of libraries like Numpy, matplotlib,pandas etc.
Now I want to run the code generated by my blocks...
So My question is how i can run python code with these libraries with Blockly RUN command

Any help would be appreciated!!!

Thankyou


Mark Friedman

unread,
Apr 21, 2020, 1:00:32 PM4/21/20
to blo...@googlegroups.com
Pyodide might be useful for you.  It's a Python interpreter developed specifically for running numerical and scientific Python code within a browser.  There's a nice writeup on it here.

-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 on the web visit https://groups.google.com/d/msgid/blockly/ec367c18-e03e-49a0-93cc-f918c110ad2e%40googlegroups.com.

visual coder

unread,
Oct 8, 2020, 12:09:01 AM10/8/20
to Blockly


Hi,
In some applications like edublocks,trinket .io is integrated to blockly platform.Any idea about how doing that?Any other similar soluions?

Bernadine Nzavake

unread,
Dec 8, 2021, 9:13:39 PM12/8/21
to Blockly
hello, 
I will like to know if you could share the blocks you created for libraries as I am implementing RPA for python in Blockly but I noticed that all the libraries mentioned are mostly while creating a flow. 
if you don't mind can see the work you have done. 

Regards, 
Bernadine. 

Reply all
Reply to author
Forward
0 new messages