You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
lang-py
main.pyshould be in the main directory, so all imports from subdirectory/subpackage will be relative to this script. At your solution, you need to go up over your directory tree and also other people will have a problem to findmain.py.datafolder should be only for storing data. No Python files inside. Data parser should be insidelibandmain.pyshould in the main directory. This way when you import parser from lib directory into main, path to data directory still be relative to main.py. It's easier to maintain.