Sinisterly
[Help] Python Commandline Parser ? - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: [Help] Python Commandline Parser ? (/Thread-Help-Python-Commandline-Parser)



[Help] Python Commandline Parser ? - Psycho_Coder - 03-25-2014

Hello All,

I am having a very hard time understanding the python Commandline parser http://docs.python.org/2/library/argparse.html

I have read the docs twice, and other examples on the web but still I am having some very hard time understanding the proper functionality and usage and unable to understand properly the detailed functions and various other options. I want an in depth tutorial or link where it has been covered in a greater depth. I have seen many or most CLI python applications use these but unfortunately I am having a hard time integrating it with applications.

I request that if someone can make a simple but yet detailed tutorial on this with many examples or examples with some real application then I would be very obliged. I don't have a book to study python. I have studied python online and hence don't have a book reference.


Thank you,
Sincerely,
Psycho_Coder.


RE: [Help] Python Commandline Parser ? - Deque - 03-26-2014

Did you read that as well? http://docs.python.org/2/howto/argparse.html


RE: [Help] Python Commandline Parser ? - Psycho_Coder - 03-26-2014

(03-26-2014, 07:57 PM)Deque Wrote: Did you read that as well? http://docs.python.org/2/howto/argparse.html

Yes. I did but unfortunately I am having problems understanding, I don't know why. I even have problem understanding Apache's CLI parser. HAHAHA, I guess I will opt out from this and that would be better. I Can't understand a simple thing, which is easy for others, its so depressing...

Aaaaahhhhh I will be offline now. See you tomorrow...