Sign up
Sign in
Not using “if name == ‘main’” when writing scripts: This can lead to unexpected behavior when the script is imported as a module …
Yancy Dennis
Ashraf Miah
Follow
--
Share
You left off the underscores in __main__.
CTO, Data Scientist & Chartered Engineer (MEng CEng EUR ING MRAeS) with over 20 years experience in the Aerospace, Rail & Energy Industry.
Help
Status
About
Careers
Press
Blog
Privacy
Terms
Text to speech
Teams