@@ -0,0 +1,415 @@
+import sys%0A%0Adef main(args=None):%0A%09%22%22%22The main routine.%22%22%22%0A%09if args is None:%0A%09%09args = sys.argv%5B1:%5D%0A%0A%09print(%22This is the main routine.%22)%0A%09print(%22It should do something interesting.%22)%0A%09%0A%09print( %22This is the name of the script: %22, sys.argv%5B0%5D)%0A%09print( %22Number of arguments: %22, len(sys.argv))%0A%09print( %22The arguments are: %22 , str(sys.argv))%09%0A%0A%09# Do argument parsing here with argparse%0A%0Aif __name__ == %22__main__%22:%0A%09main()%0A

Create __main__.py