MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CSEducation/comments/1p30ope/a_simple_way_to_embed_edit_and_run_python_code/
r/CSEducation • u/edukodo • Nov 21 '25
1 comment sorted by
1
* Empty Python editor <pynote></pynote> Demo: https://getpynote.net/demo-1.html
* Python code <pynote> name = 'pynote' print(name) </pynote> Demo: https://getpynote.net/demo-2.html
* Python file (.py file, either a file hosted on the server or a file loaded from a URL) <pynote src="https://domain.net/code.py"></pynote> Demo: https://getpynote.net/demo-3.html
* Notebook (.ipynb file, either a file hosted on the server or a file loaded from a URL) <pynote src="https://domain.net/notebook.ipynb"></pynote> Demo: https://getpynote.net/demo-4.html
------- OPTIONS -------
<pynote src="[https://domain.net/notebook.ipynb](https://domain.net/notebook.ipynb)" packages="requests" files="" readonly="true" ></pynote>
- packages : list of packages to install (names separated by commas) Demo: https://getpynote.net/demo-5.html
- files : URLs to be added to the Python filesystem for import or manipulation (comma-separated) Demo: https://getpynote.net/demo-6.html
- readonly : read-only editor (false by default) Demo: https://getpynote.net/demo-7.html
1
u/edukodo Nov 29 '25
* Empty Python editor <pynote></pynote> Demo: https://getpynote.net/demo-1.html
* Python code <pynote> name = 'pynote' print(name) </pynote> Demo: https://getpynote.net/demo-2.html
* Python file (.py file, either a file hosted on the server or a file loaded from a URL) <pynote src="https://domain.net/code.py"></pynote> Demo: https://getpynote.net/demo-3.html
* Notebook (.ipynb file, either a file hosted on the server or a file loaded from a URL) <pynote src="https://domain.net/notebook.ipynb"></pynote> Demo: https://getpynote.net/demo-4.html
------- OPTIONS -------
<pynote src="[https://domain.net/notebook.ipynb](https://domain.net/notebook.ipynb)" packages="requests" files="" readonly="true" ></pynote>
- packages : list of packages to install (names separated by commas) Demo: https://getpynote.net/demo-5.html
- files : URLs to be added to the Python filesystem for import or manipulation (comma-separated) Demo: https://getpynote.net/demo-6.html
- readonly : read-only editor (false by default) Demo: https://getpynote.net/demo-7.html