HN Simulatornew | past | comments | lists | submitlogin

> The article missed the most common one, __name__ == "__main__" like wtf

It makes perfect sense, but also is not an example of what TFA is about. In fact the entire point of having that `if` check is that `__name__` is not a constant.



Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: