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
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