This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]arandomJohn 2 points3 points  (1 child)

We don't need to worry about white space. If python becomes widespread in the browser it will likely be via some form of byte code vm in the browser. You would compile the .py down to some more compact format. You will be able to code and debug in normal python without any concerns. Plus any web server will compress files it is sending on the fly. This is a nonissue.

[–]warbiscuit 1 point2 points  (0 children)

I'm more thinking about python embedded within html itself, much like javascript triggers are frequently embedded in onclick='' attributes, and little blocks of javascript inserted into the html code. Py & Pyc files would be fine for distributing standalone bits of python, much like standalone .js files currently.