Skip to content

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

Description

@Dawlat1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions