TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #173 · 28 окт.

Для тех кто пишет расширения на PyQt/PySide для CG-софтов. Когда я только начинал писать тулзы под Maya (тогда еще версия 2010-2011) мне приходилось ручками ставить PyQt4 под Maya. Даже написал мануалы по установке на своём сайте. Но потом стал доступен из коробки PySide и позже он обновится до PySide2. Для некоторых систем была поддержка PyQt5. И как простому разработчику поддерживать этот зоопарк? Ведь хочется чтобы тул работал на любой версии (вы тоже делали модуль что-то типа import_qt.py?😁) На помощь приходит проект Qt.py который поставил себе цель унифицировать использование Qt-биндингов вне зависимости от среды где запускается код. Те, кто давно пишут на Qt, скорее всего знают этот проект. Он стал стандартом для CG-индустрии и используется в топовых студиях и проектах. Qt․py помогает запускать один и тот же код на разных платформах с разными вариантами Qt-библиотек. Это может быть как интеграция в CG-софт, так и переносимость стендалонов между разными платформами с разными версиями Python. Я решил рассказать о некоторых особенностях работы с этой библиотекой. Сегодня о том, как установить и использовать Qt․py и что это вам даёт. Установка pip install Qt.py Чтобы начать использовать Qt․py в коде достаточно заменить импорт вашего варианта Qt-биндинга на Qt․py from [PySide|PyQt4|PySide2|PyQt5] import QtWidgets => from Qt import QtWidgets Теперь ваш код будет поддерживать любой вариант биндинга Qt в Python. При этом не потребуется использовать if-else конструкции под разные версии. Все вызовы теперь одинаковы. Всё что нужно сделать, это написать его по правилам PySide2. Именно эта версия была взята за основу. Приоритет импорта такой: 1. PySide2 2. PyQt5 3. PySide 4. PyQt4 Что именно загрузилось можно посмотреть в переменной __binding__ >>> import Qt >>> Qt.__binding__ 'PySide2' Приоритет имопрта можно изменить через переменные QT_PREFERRED_BINDING и QT_PREFERRED_BINDING_JSON. Причем под каждый проект оверрайды можно настраивать индивидеально. #qt#libs

Hashtags

Резултати

Пронајдени 8 слични објави

Пребарај: #march8

当前筛选 #march8清除筛选
Embassy of Russia in Singapore

@rusembsg · Post #4395 · 08.03.2026 г., 12:44

🎙President Vladimir Putin congratulated Russian women on International Women’s Day (March 8, 2026) On March 7, Russia's President held a meeting at the Kremlin with women serving the Motherland on the front lines and beyond – military personnel, doctors, war correspondents, artists & professionals from across the country. 💬 Vladimir Putin: We always celebrate this holiday with the warmest and most heartfelt feelings. We admire our wonderful women and express our love, appreciation and gratitude from the bottom of our hearts. Women make the world better and kinder with their generosity, compassion and genuine female wisdom. A mother’s love remains in every person’s heart for a lifetime – it warms us, multiplies our joyful emotions and gives us strength in the most difficult moments. There are no heights beyond the reach of our women. You achieve remarkable success in many different professions. And when circumstances demand it – you demonstrate exceptional resilience, determination and strong leadership. You never hesitate to help those who need your assistance, surrounding your families and loved ones with care and attention and dedicating yourselves to educating children. Of course, managing to strike us with your beauty and charm while doing hard work, showing commitment and stamina is a formidable task, but you have succeeded in it. It is essential that we recognise and understand this. As for us, we reaffirm our commitment to create all the necessary conditions, both at the state level and, no doubt, in our families to enable women to strike a balance between motherhood and professional excellence, empowering them to fulfil their potential so that they do not have to wait too long before they can experience the joy of having a family, becoming a spouse and a mother. On a special note, I would like to congratulate women who are performing their duties in the special military operation zone and are facing extreme hardship while working in Donbass and Novorossiya and in our border regions. Wherever you find yourselves, you have been demonstrating valour and courage, selflessness and strength of spirit. You have my sincere and heartfelt gratitude for that. Dear women, The sky is the limit for you. You are sources of creation and development, and you combine resilience with tenderness. Your commitment to create a better future for your children inspires all of us to keep moving forward. I wish you happiness with those dear to you, success in everything that matters to you, and sound health and well-being to you and your loved ones. 💐Happy holiday! Happy International Women’s Day! #InternationalWomensDay#March8

Russian MFA 🇷🇺

@MFARUSSIA · Post #28600 · 08.03.2026 г., 08:18

🎙President Vladimir Putin congratulated Russian women on International Women’s Day (March 8, 2026) On March 7, Russia's President held a meeting at the Kremlin with women serving the Motherland on the front lines and beyond – military personnel, doctors, war correspondents, artists & professionals from across the country. 💬 Vladimir Putin: We always celebrate this holiday with the warmest and most heartfelt feelings. We admire our wonderful women and express our love, appreciation and gratitude from the bottom of our hearts. Women make the world better and kinder with their generosity, compassion and genuine female wisdom. A mother’s love remains in every person’s heart for a lifetime – it warms us, multiplies our joyful emotions and gives us strength in the most difficult moments. There are no heights beyond the reach of our women. You achieve remarkable success in many different professions. And when circumstances demand it – you demonstrate exceptional resilience, determination and strong leadership. You never hesitate to help those who need your assistance, surrounding your families and loved ones with care and attention and dedicating yourselves to educating children. Of course, managing to strike us with your beauty and charm while doing hard work, showing commitment and stamina is a formidable task, but you have succeeded in it. It is essential that we recognise and understand this. As for us, we reaffirm our commitment to create all the necessary conditions, both at the state level and, no doubt, in our families to enable women to strike a balance between motherhood and professional excellence, empowering them to fulfil their potential so that they do not have to wait too long before they can experience the joy of having a family, becoming a spouse and a mother. On a special note, I would like to congratulate women who are performing their duties in the special military operation zone and are facing extreme hardship while working in Donbass and Novorossiya and in our border regions. Wherever you find yourselves, you have been demonstrating valour and courage, selflessness and strength of spirit. You have my sincere and heartfelt gratitude for that. Dear women, The sky is the limit for you. You are sources of creation and development, and you combine resilience with tenderness. Your commitment to create a better future for your children inspires all of us to keep moving forward. I wish you happiness with those dear to you, success in everything that matters to you, and sound health and well-being to you and your loved ones. 💐Happy holiday! Happy International Women’s Day! #InternationalWomensDay#March8

💎Aziz va qadrli ayollar! 💐8 mart – Xalqaro xotin-qizlar kunibilan sizlarni samimiy muborakbod etamiz! 🌸Siz – hayotimizning fayzi, oilalarimizning tayanchi, jamiyatimizning ilhom manbaisiz. 🎀Sizga mustahkam sog‘lik, cheksiz baxt, qalbingizga xotirjamlik va ezgu orzularingiz ro‘yobini tilaymiz. Har bir kuningiz mehr-muhabbat, e’tibor va e’tirofga to‘la bo‘lsin. Yuzingizdan tabassum, qalbingizdan quvonch arimasin! Samimiy hurmat bilan, Biznes va tadbirkorlik oliy maktabi __________ 💎Дорогие и уважаемые женщины! 💐 Поздравляем вас с Международным женским днём – 8 Марта! 🌸Вы – украшение нашей жизни, опора наших семей и источник вдохновения для всего общества. 🎀Желаем вам крепкого здоровья, безграничного счастья, душевного спокойствия и исполнения самых светлых мечтаний. Пусть каждый ваш день будет наполнен любовью, вниманием и признанием. Пусть улыбка не сходит с вашего лица, а радость всегда живёт в вашем сердце! С искренним уважением, Высшая школа бизнеса и предпринимательства #GSBE#GraduateSchool#March8#HappyWomensDay 🔝Web-site |🔝Facebook | 🔝Instagram | 🔝Youtube

Russian House Brussels-Europe

@rushousebrussels · Post #2897 · 17.02.2026 г., 16:34

International Women’s Day at the Russian House Brussels On the occasion of International Women’s Day, the Russian House Brussels is pleased to invite you to a series of cultural events dedicated to women — their dignity, strength and enduring inspiration. 🌸Concert “She Connects Worlds” 📅 5 March | 19:00–21:00 | Free admission Registration: https://rushouse.be/event/concert-she-connects-worlds/ 🌷Concert dedicated to March 8 “Mother, Wife and Sister” 📅 12 March | 19:00–20:30 Registration: https://rushouse.be/event/concert-dedicated-to-march-8-mother-wife-and-sister/ The programme will feature music and poetry, highlighting the richness of cultural traditions and paying tribute to the role of women in family, society and the arts. We look forward to welcoming you to the Russian House Brussels for these special evenings. 📍 Russian House Brussels Registration is required. #InternationalWomensDay#March8#RussianHouseBrussels#Culture

50 ዓመት የሴቶች ድምጽ ለእኩልነትና ለበለጸገች ኢትዮጵያ ******** የዘንድሮውን ዓለም አቀፍ የሴቶች ቀን ስናከብር፣ ባለፉት 50 ዓመታት ሴቶች ለሀገራችን ሁለንተናዊ ዕድገትና እኩልነት ያበረከቱትን ተጋድሎና ድል እያሰብን ነው። ለሀገር ኩራት ለሆናችሁ፣ ለጥንካሬያችን መሰረት እና ለበለጸገች ኢትዮጵያ ዋልታ ለሆናችሁ ሴቶች በሙሉ እንኳን አደረሳችሁ! #March8#InternationalWomensDay#IWD2026#EthiopianWomen#Equality#ሴቶች#ኢትዮጵያ

BAGO home

@bagohome · Post #477 · 04.03.2025 г., 08:20

🌸 Мимоза – аромат весны и нежности! 🌸 Какой цветок первым приходит на ум, когда говорят о 8 Марта? Конечно, мимоза! ☀️ Её золотистые пушистые цветы источают сладковато-медовый аромат с лёгкими зелёными нотами – как предчувствие тепла, солнца и обновления. ✨ Аромат месяца – «Мимоза» от BAGO home! ✨ Весь март -20% на всю коллекцию: 💛 Аромадиффузоры (50 и 100 мл) 💛 Наполнители (рефиллы) 200 мл 💛 Аромаспреи 100 мл 💛 Аромасаше 💛 Свечи из соевого воска (40 часов горения) Наполните дом атмосферой цветущего сада! 🌿💛 Заказывайте на нашем сайте 🌸 #BAGOhome#Мимоза#АроматВесны#ПодарокК8Марта#ВесеннееНастроение#СимволВесны#АроматМесяца#АроматДляДома#Аромасвечи#Аромадиффузор#SoyCandles#HomeFragrance#SpringScent#GiftForHer#March8#SpringMood#Discount