I've added a local directory to my system path. When I import it, it's fine but when I do
import local_repo
print(local_repo.__file__)
it returns None
.
How do I get it to return the path...
P.S. When I try this with other modules works fine - returns the path - for example
import pathlib
print(pathlib.__file__)
>>>> "C:\Python38\lib\pathlib.py"