DEV Community

Discussion on: Hitchhiker's guide to the Python imports

lazzu profile image

Coming from C++ and C#, and being just a little more than a casual python scripter, having to check if the module name is "main" feels very hacky and not very well thought through solution for running your main function. It has always bugged me.

Thanks for great article, it gave me some insight about modules.