Skip to content

How do i import python files? #1326

Discussion options

You must be logged in to vote

Ok ive got this working, thanks.

What was confusing was that the docs say to use from .nameofrustlibary import * to get the rust functions imported but actually when the project folder is nested inside the python folder, what works is from nameofrustlibary import wrapper

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by messense
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants