Skip to content

How in rust do you import a submodule #2916

Discussion options

You must be logged in to vote

py.import("x")?.getattr("y")? should do it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Catmanpooh
Comment options

Answer selected by Catmanpooh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants