Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
#ELF/USDT analysis :
#ELF is currently in an uptrend, forming higher highs (HHs) and higher lows (HLs). Following an impulsive move, the price has retraced to the 200 EMA and a key support zone. It is anticipated that the price will rebound from this level and resume its bullish momentum, aiming to test the previous swing high.
TF : 1D
Entry : $0.4500
Target : $0.8400
SL : $0.3550
#ELF/USDT analysis :
#ELF is currently consolidating above the previously respected support zone. The price is expected to bounce back from this level and continue its bullish rally, potentially testing previous highs.
TF : 1W
Entry : $0.4124
Target : $0.7853
SL : $0.3060