drgdfhf
drgdfhf
2021-01-25 15:05

from sys import argv 的 用法

  • python
from sys import argv

script,first,second,third=argv

print("The script is called:",script)
print("Your first variable is:",first)
print("Your second variable is:",second)
print("Your third variable is:",third)

为什么我运行不出来呢

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

5条回答