query: What is the function of if __name__ == '__main__'?
positive_passages.docid: 209
positive_passages.text: What does if __name__ == "__main__": do?
negative_passages.docid: 12945
negative_passages.text: Finding the variable name passed to a function
negative_passages.docid: 109716
negative_passages.text: How to print value of global variable and local variable having same name?
negative_passages.docid: 97291
negative_passages.text: if(!x) vs if(x==false) in ruby
negative_passages.docid: 3334
negative_passages.text: What should main() return in C and C++?
negative_passages.docid: 67816
negative_passages.text: What is the use of multiple main methods?
negative_passages.docid: 65108
negative_passages.text: Arguments to main in C
negative_passages.docid: 19252
negative_passages.text: Determine original name of variable after its passed to a function
negative_passages.docid: 37287
negative_passages.text: How to get the return value of a program ran via calling a member of the exec family of functions?
negative_passages.docid: 111137
negative_passages.text: "NameError: name '' is not defined" after user input in Python
negative_passages.docid: 129698
negative_passages.text: How is ** implemented in Python?
negative_passages.docid: 14817
negative_passages.text: Why is __init__() always called after __new__()?
negative_passages.docid: 99859
negative_passages.text: What is the difference between def func(var) and def func=(var)?
negative_passages.docid: 121702
negative_passages.text: Calling a function in main
negative_passages.docid: 70189
negative_passages.text: Conditional compilation in Python
negative_passages.docid: 50633
negative_passages.text: What does Python's eval() do?
negative_passages.docid: 145317
negative_passages.text: Is it possible that a variable declared after the main has file scope?