Chinaunix首页 | 论坛 | 博客
  • 博客访问: 78934
  • 博文数量: 44
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 59
  • 用 户 组: 普通用户
  • 注册时间: 2014-04-01 09:34
个人简介

1.每日自省; 2.享受人生; 3.尽力而为; 4.坚持不懈; 5.切莫急躁; 6.慎言敏行; 7.动心忍性; 8.上善若水。

文章分类

全部博文(44)

文章存档

2015年(44)

我的朋友

分类: Python/Ruby

2015-09-09 16:35:47

#!/usr/bin/python
#filename:using_sys.py
import sys
print 'the command line arguments are:'
for i in sys.argv:
        print i
print '\n\n The PYTHONPATH is\n',sys.path,'\n'

 

 

[root@fsailing1 python]# python using_sys.py we are studying python
the command line arguments are:
using_sys.py
we
are
studying
python

阅读(1097) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~