Js2Py icon indicating copy to clipboard operation
Js2Py copied to clipboard

Js2py.translate_file() to translate node.js source code to .py

Open Dawlat1 opened this issue 1 year ago • 0 comments

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

Dawlat1 avatar Sep 15 '24 17:09 Dawlat1