Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
#CFX/USDT analysis :
#CFX is presently trading within a resistance zone from where the price is expected to reject and exhibit a bearish move. The price is currently in an impulsive phase, with a corrective pullback pending and expected to form from the current zone.
TF : 1h
Entry : $0.1852
Target : $0.1566
SL : $0.1982