Js2py.translate_file() to translate node.js source code to .py
Opened this issue · 0 comments
Dawlat1 commented
Hi,
Is it possible to use Js2py.translate_file() to translate node.js source code to .py and then install it using python and after that use node.js to run JavaScript files embedded in local html files directly?
Is it enough to use Js2py.translate_file()? Shall I change node’s package batch file to C then to python? I don’t want to install node package for a specific operating system (exe or any other) because I want to make a portable version of my app that needs node.js and run it independently without relying on an operating system.
Also, how can I run JavaScript that is part of html files?
Many thanks,
Dalwat