Skip to content

Support selective import in @py macro @py from <module> import ... #117

Closed
@hhaensel

Description

@hhaensel

Currently partial imports, e.g. @py from os.path import join as py_join are not supported.

I propose to add an additional method to @py that supports this kind of statements.
I'll submit a PR, which you might consider if you like that feature.

BTW, just recently stumbled across PythonCall in the discourse announcements. I think it is a really cool package! 🚀

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions