python中的str.isdecimal() str.isdigit() str.isnumeric() bytes.isdigit()#

Stack OverFlow

python文档

bytes.isdigit()

Unicode Character Categories

1. str.isdecimal()#