Compiling Python to Javascript is always going to be incomplete. (For example, it doesn't make much sense to open() a file from the browser!)
However, we run full CPython (2.7 and 3.6) on the server, so any language feature you like is just a function call away :)