[issue25231] Argparse module and escape sequence (special symbols) in argument value

2015-09-25 Thread Martin Panter
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 shel

[issue25231] Argparse module and escape sequence (special symbols) in argument value

2015-09-25 Thread Ondřej Profant
New submission from Ondřej Profant: I am trying to put tabulator '\t' into argument value. Minimal working example: #!/usr/bin/env python3 import argparse def main(): parser = argparse.ArgumentParser() parser.add_argument('-f', '--foo', default="test", help="test") a