demo_ref_string_isprintable.py:
txt = "Hello! Are you #1?" x = txt.isprintable() print(x)
➜ begtut>python demo_string_isprintable.py
True