News for hackers. Stuff that matters.
Re:Show HN: Pynote – Embed Python code and editor, notebooks... by laurentabbal on Friday November 21, 2025 @04:46AM (#46002908)
* 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" 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

Re:Show HN: Pynote – Embed Python code and editor, notebooks... by vlejd on Friday November 21, 2025 @04:23PM (#46009146)
Thant looks very nice. I am writing some technical blogs from time to time and this will come in handy. How does it work with the code execution though? Are you running some service somewhere that takes care of it, or is it in browser?
Re:Show HN: Pynote – Embed Python code and editor, notebooks... by laurentabbal on Saturday November 22, 2025 @02:54AM (#46013001)
It's in browser with Pyodide.