Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
#SKL/USDT analysis :
#SKL is currently facing rejection at the resistance zone. The price is expected to decline from this point and continue to decrease, testing the support levels. Previous lows are likely to be tested. Wait for pullback for short entry.
TF : 4h
Entry : $0.04237
Target : $0.03509
SL : $0.04648
#SKL/USDT analysis :
#SKL has been rejected from the high time frame (HTF) resistance zone and has broken the support level. This indicates that the price is likely to continue declining further and test the previous swing low.
TF : 15min
Entry : $0.03413
Target : $0.03211
SL : $0.03541