Skip to content

[docs][PythonCall] document syntax for "from ... import ..." #453

@CarloLucibello

Description

@CarloLucibello

It took me some digging through the issues to discover that the python import

from x import f as g

can be translated in julia to

using PythonCall
@py import x: f as g 

Can this be added to the PythonCall's guide in the documentation?

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