-1

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.

Luke Peterson
  • 8,584
  • 8
  • 45
  • 46
Sandman
  • 73
  • 1
  • 3
  • 9

1 Answers1

0

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
icktoofay
  • 126,289
  • 21
  • 250
  • 231