Skip to content

Support "from module import name1, name2" ? #146

Description

@ChrisBarker-NOAA

A common Python idiom is to import just a few names from other modules, such as:

from module import name1, name2

Could/should this be supported in PythonJS? If so, how?

Should each python module get its own javascript file, and then the code is run an teh appropriate names import with require? Would then even be possible?

I have no idea -- just putting this issue in so it won't be forgotten.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions