Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
Nginx487
· 6y ago · 0 comments
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.
Comments
No comments yet.
Better HN