Skip to content
Discussion options

You must be logged in to vote

Creating a new module does not make it known to the import machinery. You'll also have to add it to the module registry (sys.modules) since import will not find it in the usual way (looking for files on sys.path).

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@flickpp
Comment options

@mejrs
Comment options

mejrs Sep 30, 2022
Collaborator

@flickpp
Comment options

@mejrs
Comment options

mejrs Sep 30, 2022
Collaborator

@birkenfeld
Comment options

Answer selected by flickpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2648 on September 30, 2022 16:06.