Hacker Newsnew | past | comments | ask | show | jobs | submit | laurentabbal's commentslogin

It's in browser with Pyodide.


* 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


You can easily add it with the console.


Downloads & prints - cities & art Paris - London - New York - Hong Kong - Manhattan - Chicago - Vancouvers...


Pyxel Studio is an online development environment for Pyxel (a retro game engine for Python). Create, play, share... games and apps.


Pyxel Studio is an online development environment for Pyxel (a retro game engine for Python by @kitao).


Examples are with code in french. English version is coming.


Interesting. Code Puzzle also offers the possibility to add blanks (and drop down menus), but no doctests. Maybe a new feature for the next version.


Oh nice, I didn't realize you had that capability. It looks like you're using js-parsons, which is also what we branched off. I ended up deleting the line-based grader logic in our js-parsons fork, since we only need doctest-based grading and I wanted to clean up the code, but in theory, both kinds of graders can co-exist.


I will add the doctests soon. And other languages will be supported.


The "Options" documentation is still in French when I click "Create a Puzzle", that's why I didn't realize one could add blanks/menus.


It's now in english


FYI, I've added a demo. No need to register to test the system now. https://www.thedatapond.net/new-demo


Thanks! Many people were not convinced by the analogy with fishing. So I changed the text to something more classic: projects / lists. Less fun but more serious... If I have a time today, I will set up a demo that will not require registration. Thanks for the advice.


The demo is a little unclear. The instructions says to "Click [shape]" and I think you should probably delete that, since I don't see the shape anywhere else on the page. Starting with "Click where to start" is probably clear enough, although I think you can clarify the language further.

After someone clicks the "delete selected shape" button, you should probably resume the click-shape mode (with the crosshair cursor). It took we a while to figure out how to start clicking the shape and that I need to refresh the page if I want to restart.

Beyond that, I only got it to give me results when I specified a very small area; my earlier attempts encountered a "too big" error. I would guess that you are running into performance issues for larger areas, but limiting the area too much makes the demo less impressive.


Thanks. I will take into account these remarks.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: