Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
Federalism and Conservatism in Ethiopia: Reframing the Debate Beyond Ethnic and Civic Models. Read more.
https://borkena.com/2026/04/21/federalism-and-conservatism-in-ethiopia-reframing-the-debate-beyond-ethnic-and-civic-models/#Ethiopia#politics#government#Federalism
#Coming_UP: The Standard Signal |Ep. 12 – Ethiopia’s Constitutional Foundation and the Crisis of Western Tigray. Part II
Five years after the war in Tigray began, the constitutional crisis it exposed remains unresolved.
In Part II, Tsedale Lemma continues her conversation with Daniel Berhane, examining whether Ethiopia is still governed by its Constitution — or whether force has replaced law in determining territory.
If territorial disputes are settled outside constitutional order, what does that mean for Ethiopia’s federal future?
Part II premiers at: 7:30 PM tonight.
Subscribe to watch: https://www.youtube.com/@AddisStandard
#Ethiopia#WesternTigray#ConstitutionalOrder#RuleOfLaw#Federalism#Tigray#HornOfAfrica#AddisStandard
Premiering now: The Standard Signal | Ep.14: Tigray on the Brink: Survival, Famine Risks, and the Shadow of Renewed War in Ethiopia.
Click here to watch: https://www.youtube.com/watch?v=YDjUomfsWnA
Tigray is facing fragile recovery, deepening humanitarian strain, and growing fears of renewed war.
In this episode of The Standard Signal, Duke Burbridge shares what he witnessed on the ground — from survival and displacement to aid challenges and famine risks.
#StandardSignal#EthiopiaPolitics#ONLF#Ogaden#PeaceAgreement#PoliticalRepression#ShrinkingCivicSpace#ResourcePolitics#OilAndGas#Federalism#DemocracyInEthiopia#HornOfAfrica#Accountability#PoliticalDialogue#Tigray