import sys

print(sys.argv)  # sys.argv是sys模块里的argv列表

# python3 position_args.py
# python3 position_args.py 10
# python3 position_args.py 10 bob



import sys

print(sys.argv)  # sys.argv是sys模块里的argv列表

# python3 position_args.py
# python3 position_args.py 10
# python3 position_args.py 10 bob



# sys.argv是sys模块里的argv列表 # python3 position_args.py # python3 position_args.py 10 # python3 position_args.py 10 bob