Closed DevarshiChoudhury closed 9 months ago
Let me test if I face the same issue. I don't think I have directly run the main
module generated using py3 module generator. I was facing import issues when importing the main
module from a notebook. If I am also able to reproduce the error above, I suppose a good way would to be put a if __name__ == '__main__'
condition when importing the Custom
modules in main
@thjsal I have pushed another commit to account for relative imports.
The problem is that adding this dot in front of the imported module breaks modules if running them directly. Like this: