I've been trying to figure out how to convert python files into JavaScript files.
I downloaded the latest pyjamas and I installed it in my c:\Python26\Lib\site-packages folder. I'm running Python 2.6 on Windows 7.
It looks like you should be able to translate a Python file to JavaScript like so:
python -m pyjs.pyjampiler -w directory/of/source -r main.py -o /output/path.js