python 脚本接收参数
python 脚本接收参数 code #!/usr/bin/env python # -*- coding:utf-8 -*- import sys print 'script name: ',
...Read more...
数人世相逢,百年欢笑.
python 脚本接收参数 code #!/usr/bin/env python # -*- coding:utf-8 -*- import sys print 'script name: ',
...Read more...
$# 是传给脚本的参数个数 $0 是脚本本身的名字 $1 是传递给该shell脚本的第一个参数 $2 是传递给该shell脚本的第二个参数 $@ 是传给脚本的所有参数的列表 $* 是以一个单字符
...Read more...