How to read/process command line arguments?

后端 未结 17 2013
离开以前
离开以前 2020-11-21 05:14

I am originally a C programmer. I have seen numerous tricks and \"hacks\" to read many different arguments.

What are some of the ways Python programmers can do this

17条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-21 05:47

    You may be interested in a little Python module I wrote to make handling of command line arguments even easier (open source and free to use) - Commando

提交回复
热议问题