demo_ref_string_isdecimal2.py:
a = "u0030" #unicode for 0 b = "u0047" #unicode for G print(a.isdecimal()) print(b.isdecimal())
➜ begtut>python demo_string_isdecimal2.py
True
False