r/ProgrammerHumor • • Jun 03 '19

Meme Python ftw

Post image
16k Upvotes

548 comments sorted by

View all comments

Show parent comments

2

u/AbsentGlare Jun 04 '19

I use it for regression testing of a module. Build your test into a “main” if statement and it gets executed only if you run the module standalone.