$ python hello.py Hello world $ brython hello.py -o hello.js $ node hello.js Hello world
The examples on the Brython website only explain how do this in the browser http://www.brython.info/index_en.html
It seems they are very browser oriented, there is no command line option out of the box.
You can try to use their code youself from node.js, perhaps it will work easily. It seems the
$py2js(src, module) function does the actual conversion so maybe you can just run it with the python code string as first parameter.
Another option is to use pyjs: http://pyjs.org/ which does something similar and has command line tool to do the conversion.
This recipe can be found in it's original form on Stack Over Flow.