module import in custom scripts #9822
Unanswered
andershagman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom script that import modules from a subdirectory.
I got "no module named l3_site" when the script had the name l3_mgmt.py and the module dir was named l3_site.
I changed the dir name to a_l3_site and now it worked.
Must the module dir name have a name before the python file, with the import, in alphabetic order to work?
I haven´t seen anything regarding this anywhere.
Beta Was this translation helpful? Give feedback.
All reactions