demo_ref_string_expandtabs.py:
txt = "H\te\tl\tl\to" x = txt.expandtabs(2) print(x)
➜ begtut>python demo_string_expandtabs.py
H e l l o