python get command line arguments ; 1. import sys ; 2. print("This is the name of the script:", sys.argv[0]) ; 3. print("Number of arguments:", len(sys.argv)) ; 4.
確定! 回上一頁