PySnippets – easily write, run and share Python in the browser

2 ntoll 3 8/11/2025, 10:12:17 AM pysnippets.org ↗

Comments (3)

ntoll · 7h ago
Ever wanted to quickly share and run Python code via a URL? Well, now you can!

PySnippets is JSFiddle or CodePen but for Python in the browser (via PyScript).

It's a static website. All the logic runs in the browser. No back-end or cloud storage is used - instead, code is URL encoded. Share the URL, your code is in there already, and the static target re-hydrates it then runs it. Yeah, yeah, "snippets" because this is for small scripts. ;-)

This is a goofy "fun" project just to see how quickly something like this could be created. The initial version took just 3 hours to build. Here's a sample (SNAKE game) project: https://is.gd/q3209l (click through to see how its done.)

Feedback welcome..! Thank you!

russfink · 7h ago
Can it do live sharing?
ntoll · 6h ago
You mean, collaborative coding a la Google docs?

Nope. :-)

There is no back-end through which one could coordinate such things. It's all done in-browser.