Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

main function python


print("Hello")

print("__name__ value: ", __name__)


def main():
    print("python main function")


if __name__ == '__main__':
    main()
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #main #function #python
ADD COMMENT
Topic
Name
9+4 =