• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu
+ 2

If __name__ == "__main__" how to use this condition inside a module?

if __name__ == "__main__"

pythonpython3
16th Dec 2020, 7:56 PM
MatĂ­as Bravo
1 Réponse
+ 4
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2488/
17th Dec 2020, 3:44 PM
Vitaly Sokol
Vitaly Sokol - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de maniĂšre plus efficace, gratuitement :

  • Introduction Ă  Python

    7.1M apprenants

  • Introduction Ă  Java

    4.7M apprenants

  • Introduction Ă  C

    1.5M apprenants

  • Introduction Ă  HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
1 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
Changing String Variables into int in C++
0 Votes
I am new
1 Votes
Advertising in Sololearn
0 Votes
Fill in the blank to declare a static variable.
0 Votes
How can i insert files?
1 Votes