to do a proper Linux/unix styled appli开发者_StackOverflow社区cation, what is the best choice (eg. afaik ls uses getopt_long but for example ffmpeg getopt_long_only).
I just found out the existence of the optparse module. I personally always used getopt, so I did not care to look for something better. 开发者_开发问答It\'s clear, however, that optparse is much more
Acco开发者_如何学编程rding to the documentation on python\'s getopt (I think) the options fields should behave as the getopt() function. However I can\'t seem to enable optional parameters to my code: