一个非常好笑的回复.

| |
[不指定 2009/04/21 10:09 | by admin ]
From: PianoPan
"一个单独的python  程序, 使用sys.exit(1), 可以把正确的返回值返回给shell 环境
但是当另外一个python 程序使用os.system("./bin/xxx.py") 这样调用的时候, os.system 的返回值却出现了问题,
变成了256 ,  也就是0x100  , 不知道这个问题怎么解决?"

From: 沈
"os.system('./bin/xxx.py') % 255"

From: Ray Stinger
"沈啊,我说你是不是*(&$#^&&!

os.system('./bin/xxx.py') % 255

这也行?算了,你还是进军演艺圈吧..."
_______________________________________________

result >> 8
工作 | 评论(0) | 引用(0) | 阅读(326)
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]