paul j3 added the comment:

Two points to keep in mind:

'argparse' works with 'sys.argv[1:]'.  If that does not contain what you want, 
then you can pass your own 'argv' to 'parse_args'.

'type=bytes' means, call the builtin 'bytes' function with one of the argv 
strings. If 'bytes' does not handle the string as you want, then you need to 
write your own function.

----------
nosy: +paul.j3

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21416>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to