Quantcast
Channel: Hacker News 50
Viewing all articles
Browse latest Browse all 9433

Brython

$
0
0

Comments:"Brython"

URL:http://brython.info/index_en.html


Without a doubt, you've seen a clock like this in demos of HTML5

sorry, Brython can't make the demo work on your browser ; check if Javascript is turned on

However, right click and view the source of this page...

It is not Javascript code! Intead, you will find Python code in a script of type "text/python"

Brython is designed to replace Javascript as the scripting language for the Web. As such, it is a Python 3 implementation (you can take it for a test drive through a web console), adapted to the HTML5 environment, that is to say with an interface to the DOM objects and events

The gallery highlights a few of the possibilities, from creating simple document elements to drag and drop and 3D navigation


Viewing all articles
Browse latest Browse all 9433

Trending Articles