Difference between revisions of "If name == " main ":"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
 
  if __name__ == "__main__":
 
  if __name__ == "__main__":
 
   main()
 
   main()
 +
 +
 +
if __name__ == "__main__":
 +
  yourfunction()
  
 
== Related terms ==
 
== Related terms ==

Revision as of 09:49, 27 March 2024

Advertising: