Always use: if __name__ == '__main__': ... in Python

Always use: if __name__ == '__main__': ... in Python

Indently

55 лет назад

11,253 Просмотров

Today we will be looking at if __name__ == '__main__': ... and what it actually does. I mean we've all noticed it, but why should we actually use it? And what happens if we don't?

Тэги:

#code_palace #cde_palace #code_palce #palace_code
Ссылки и html тэги не поддерживаются


Комментарии: