Метод строки isidentifier() поможет узнать, подходит ли данная строка в качестве имени объекта.
Вполне может заменить самостоятельно придуманную регулярку.
>>> 'some_name'.isidentifier()
True
Обычное имя переменной
>>> '私は手紙です'.isidentifier()
True
Юникод в качестве имени тоже доступен
>>> '1_name'.isidentifier()
False
Имя не может начинаться с цифры
>>> '੬_name'.isidentifier()
False
Включая все цифры юникода
>>> 'some name'.isidentifier()
False
Пробелы недопустимы
#basic
⏳IN 30 MINUTES
As we navigate the complexities of pandemic prevention, response, and preparedness, we invite you to join us alongside other stakeholders and partners.
Let's exchange insights and expertise to guide our joint endeavors in securing funding and fortifying our public health systems.
🕙 10 AM
🔗Join the national dialogue via
https://youtube.com/live/X4wjZNyiHi8
#PandemicFund#PandemicPreparedness
#onehealth
World ‘unprepared’ for next pandemic as countries fail to agree on sharing information, tests and vaccines
[Read FullArticle]
@WorldNews#GlobalHealth#PandemicPreparedness#PublicHealthNews
#The_Science🇺🇸📕[PDF]⬇️
13 #November2025
#Weekly_Magazines
For learning, for free(dom).
@backupofmagazines
This issue dives into breakthroughs reshaping biology and energy as researchers confront rising geopolitical limits. From #AI-driven epigenetics to #SyntheticBiology advances, the issue tracks how innovation pushes ahead despite tensions over China-US research ties. New micro-robots navigating the bloodstream and faster-charging batteries highlight a surge in #DeepTech momentum. Climate resilience, #PandemicPreparedness, and EU chemical reforms underscore global policy stakes. Studies on dog domestication, brown dwarfs, and marine recovery after extinction broaden the scientific lens. A reminder that #ScienceMatters even as politics shift—innovation continues to define our shared future. #TechNews#GlobalTrends#ResearchUpdates