Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if name == main

# The code in this 'if' statement runs only if current file is the
# the main file. Mean this 'if statement' code will not run if you import
# that file into other program.

if __name__ == '__main__':
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #main
ADD COMMENT
Topic
Name
2+6 =