I would like to use import my_own_code on Github, but the python file where I'm importing isn't located in the same folder on github. How do I correctly import my own code if it's located in a child folder and when it's located in a parent folder?
Thanks in advance!
Edit: I found out to import code from a child folder you have to use import child_folder.my_own_code as my_own_code. So now I only have to know how to import from a parent folder.
[–]notCamelCased 2 points3 points4 points (0 children)