Martin Panter added the comment:

As far as I know “argparse” takes arguments straight from the command line 
without interpreting any escape sequences. Perhaps you should look up how to 
pass a literal tab on the command line, but this is nothing specific to do with 
Python. E.g. in the Bash shell the following might work:

$ echo $'a\tb'  # Bash specific syntax
a       b
$ echo "$(printf 'a\tb')"  # Any Posix shell
a       b
$ echo "a       b"  # Ctrl+V, Tab for literal tab to bypass completion
a       b

----------
nosy: +martin.panter
resolution:  -> third party
status: open -> closed

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

Reply via email to