Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
#ZEN/USDT analysis :
#ZEN is in an uptrend, forming higher highs (HHs) and higher lows (HLs) above the 200 EMA. The price is currently in a correction phase, showing a retracement to test the 200 EMA. It is advisable to wait for the price to test this zone for a long entry, as it is expected to rebound and resume its bullish momentum.
TF : 1D
Entry : $17.66
Target : $40.00
SL : $11.90