会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
A Simple Note Book
Close your eyes, and follow your heart.
博客园
首页
新随笔
联系
管理
订阅
2021年1月22日
Python 命令行参数 (摘录)
摘要: Python 提供了 getopt 模块来获取命令行参数。 $ python test.py arg1 arg2 arg3 Python 中也可以使用 sys 的 sys.argv 来获取命令行参数: sys.argv 是命令行参数列表。 len(sys.argv) 是命令行参数个数。 注:sys.
阅读全文
posted @ 2021-01-22 15:02 流失的痕迹
阅读(126)
评论(0)
推荐(0)
公告