Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python name = main

if __name__ == "__main__":
  # Code inside of here will only run if the python script was launched directly
  # This code will not run if imported as a module
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #main
ADD COMMENT
Topic
Name
6+1 =