7 ms·
I mean the real trick there is to not use single-file modules. If you make a folder with a __main__.py and __init__.py you can get rid of the if statement. Not
by Doxin 5y ago
I mean the real trick there is to not use single-file modules. If you make a folder with a __main__.py and __init__.py you can get rid of the if statement.
Not entirely obvious.