Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
#OXT/USDT analysis :
#OXT has broken out and retested a previously respected support zone. Price is expected to bounce back from this level and test previous highs. This indicates a potential continuation of the bullish trend, as the retest confirms the strength of the support.
TF : 1D
Entry : $0.1070
Target : $0.1570
SL : $0.0857
#OXT finally broken up the trading range on 8H Time frame,we will have good pump again after a pullback,let's see what will happen 💫
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️
#OXT result
2 nd target achieved in just 3 days ✅✅
One more huge quick profit 15%🤑💰🤑
👉 Still thinking? The more you wait more you lose profit
☎️ Contact @MichaelStrategiesVip for membership and grab next breakout signal
#OXT has good bullish momentum on Weekly time frame,we are waiting for a pullback and rebuy,buy dip
📈
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️