故名思意在命令行中输入的参数。
例如$ python3 /home/shiyanlou/Code/MinutesToHours.py 80 1 H, 20 M $ python3 /home/shiyanlou/Code/MinutesToHours.py 95 1 H, 35 M $ python3 /home/shiyanlou/Code/MinutesToHours.py -10 Parameter Error $ python3 /home/shiyanlou/Code/MinutesToHours.py abcd Parameter Error
80 95 -10 ,abcd就是参数,在命令行中输入
命令行参数
最新推荐文章于 2024-07-16 12:57:18 发布