Is there a way that I can pass 0 command line arguments in python and have the same result if a particular argument is passed?

前端 未结 0 336
伪装坚强ぢ
伪装坚强ぢ 2020-12-18 03:30

I am fairly new to Python. I need a piece of code to run when either (i) No command line arguments are passed (ii) A particular command line argument, say "help",

相关标签:
回答
  • 消灭零回复
提交回复
热议问题