Remix clone Hacker News
new
|
show
|
ask
|
jobs
Github
▲
1718627440
a day ago
In python you are recommended to use
if __name__ == '__main__': sys.exit (main (sys.argv))
and not put any code that is executed at the top-level. Otherwise its also executed when you import the file.