Status: New
Owner: ----
New issue 299 by
zhangchu...@gmail.com: ubuntu 下用 ulipad 运行的时候
parser.parse_args() 返回的参数问题
http://code.google.com/p/ulipad/issues/detail?id=299
What steps will reproduce the problem?
1. 代码:
def main():
from optparse import OptionParser
parser = OptionParser()
options, args = parser.parse_args()
print repr(args)
2. 在 ubuntu 下运行打印出的是
['']
3. 如果直接在命令行下运行打印出的就是
[]
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.