Python to JS translator

Here is a code translator for converting a python code to JS code. After getting so much used to python, it might be a bit difficult to go back to JS Code, but this python module can help us a bit once we get used to it I guess.

How to install ?

You can use pip to install this Py to JS translator

pip install pythonscripttranslator


How does this work?

Lets first create a small hello word python script

echo 'print "Héllo World"' >

Once you have the script, you just need to do following

pythonscript < >




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s