会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
安迪9468
博客园
首页
新随笔
联系
订阅
管理
2019年5月12日
python命令行获取参数
摘要: python命令行获取参数 import sys # python获取参数 input_file = sys.argv[1] output_file = sys.argv[2] print(input_file) print(output_file) 输出: 方法2:封装后的高级传参(强烈推荐) #
阅读全文
posted @ 2019-05-12 17:32 安迪9468
阅读(336)
评论(0)
推荐(0)
编辑
公告