Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

There used to be something for Internet Explorer 4 and above. All you had to do was to set the language attribute of the <script> tag to Python. See "Python Programming On Win32: Help for Windows Programmers", page 437 [1].

[1]: http://books.google.ro/books?id=fzUCGtyg0MMC&pg=PA437



sort by: page size:

For Python, https://sh.readthedocs.io/ is very nice, but unfortunately no Windows support.

It's neat how that link lets you run Python interactively in the browser, with https://repl.it/site/languages/python3 . Normally that is just a JavaScript thing.

There's also pyjs if you want to skip the writing of javascript and just write python. It works like gwt, but in python. http://pyjs.org/

You can already do 'Python in a browser' for a long time. With the Python to JS converter: http://pyjs.org/



If you prefer Python to Javascript http://code.google.com/p/jrfonseca/wiki/PythonMonkey

The Python Language Reference is pretty good if you're already experienced: https://docs.python.org/3.6/reference/index.html

Python has the same thing. I like them.

https://docs.python.org/3/library/doctest.html


Cheers, that looks really interesting. I usually use pythonxy[0] nowadays on operating systems without package managers, but I'll give that a go next time.

0: https://code.google.com/p/pythonxy/


by the way, compiler explorer[0] has python support.

[0]: https://godbolt.org/


There is a way: http://mypy-lang.org/

I've used Python a fair bit for a variety of semi-permanent or long scripts. I would have liked types more as well. Discovered MyPy after those instances.


You can use VS for python too: https://pytools.codeplex.com/

BTW, Python can do that [1], it's just not very recommended because the ast is not stable between versions (and maybe even implementations? not sure about that)

[1] https://docs.python.org/3.6/library/ast.html


Awesome!

It's nice that it uses pseudo-code, rather than making it specifically tied to a given prog. language.

The python equivalent would be this: http://pythontutor.com/


This is the easiest way I think.

OP: https://replit.com/languages/online-python-compiler


And here's a library for Python: http://pybrary.net/pyPdf/

I bet this can be added to the Internet In a Box project. It already comes with python installed.

https://internet-in-a-box.org/


There are a few language-specific libraries, including, for Python: https://github.com/amolenaar/roles
next

Legal | privacy