Skip to content

how to use PyModule multiply times in different parts of code #3824

Answered by adamreichold
g992 asked this question in Questions
Discussion options

You must be logged in to vote

Try mapping the value only, e.g. PyModule::from_code(py, &indicators_file, "indicators", "indicators").map(|module| module.into())

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@davidhewitt
Comment options

@g992
Comment options

@g992
Comment options

@adamreichold
Comment options

Answer selected by g992
@g992
Comment options

@g992
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants