Re:An exploration of why Python doesn't require a 'main' fun...
by Nginx487 on Tuesday July 21, 2020 @07:45PM
(#23912181)
The code encapsulated into "__main__" assumed to be module-specific, this is the purpose of that pattern. If you want to make some code available for another module, you just refactor it into separate function.
[ Parent
| on HN ]
There are no comments on this comment yet.