Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Dawlat1 opened this issue Sep 15, 2024 · 0 comments
Open

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

Dawlat1 opened this issue Sep 15, 2024 · 0 comments

Comments

@Dawlat1
Copy link

Dawlat1 commented Sep 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant