I am using Pycharm and I have several .py files in my Collection project directory.
When I am using python console I can import whichever class I want, module (as long as it exists). But after some time the directory got a little messy so I tried re-organizing it into subdirectories/files based on their common grounds. (like Calculator subfile includes several .py files with calculating programs etc. But while working with those nested files I cannot use Python Console - I cannot import any custom made classes:
I get an error: ModuleNotFoundError
I believe it is because the sys.path.extend is not...extended to that very Calculator subdirectory.
I really do not want to have all of them in one directory because it can get quite messy. How do I change the path for that particular subfile?