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

Резултати

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

Пребарај: #disclosure

当前筛选 #disclosure清除筛选
AI & Law

@ai_and_law · Post #296 · 29.04.2024 г., 07:04

US: SEC Puts Individuals on Notice: Be Mindful of AI Disclosure Risks The Securities and Exchange Commission (SEC) is casting a wider net in its efforts to ensure transparency around Artificial Intelligence in the financial sector. While companies have been warned about potential misleading AI disclosures, the SEC is now emphasizing the potential liability of individual actors. The SEC continues its fight against "AI-washing," where companies inflate or misrepresent their use of AI technology. Director Grewal highlighted recent settlements with investment advisors who made false claims about their AI capabilities, similar to past actions taken in the Environmental, Social, and Governance (ESG) space. This is a significant shift. Previously, the SEC's focus was on corporate disclosure failures. Now, individuals involved in AI-related disclosures could face penalties if they: ✅ Knowingly or unknowingly misrepresent the role and risks of AI in their company's operations. ✅ Fail to take reasonable steps to ensure accurate disclosures. If you're involved in AI development or implementation for publicly traded companies: - be aware of your potential liability regarding accurate disclosures; - encourage a culture of transparency within your organization regarding AI use; - seek guidance from legal and compliance professionals to navigate the evolving regulatory landscape. #AI#SEC#Disclosure#FinancialMarkets

🐎 Mustang Debbie Channel🐎

@mustangdebb · Post #47677 · 09.05.2026 г., 02:35

https://x.com/mrmbb333/status/2052868548574560425?s=52 🛸 THE UFO DISCLOSURE ISN’T THE BIGGEST STORY Something changed. Not just in Washington… but in the skies. For years people were mocked for talking about strange objects, unexplained lights, military encounters, electrical disturbances, and things that didn’t make sense. Now suddenly… files are being released. Pilots are speaking openly. Major media outlets are covering it nonstop. But here’s what stands out Why is all of this happening at the SAME time the world is seeing: • increased solar activity • strange sky phenomena • drone/satellite concerns • auroras farther south • extreme weather worldwide • nonstop reports coming from the skies Maybe this was never just about UFOs. Maybe something bigger is changing around us… and people are finally starting to notice. 👇 What do YOU think is really going on right now? #MrMBB333#UFO#Disclosure#SpaceWeather#UAP

BadVolf

@badvolfnews · Post #940 · 26.09.2023 г., 21:55

⚠️#ALARM⚠️#BreakingNews⚡️#France🇫🇷 #francophonie#Switzerland#Africa #France#Population in great #Danger⚡️ #Pfizer#CovidPsyOps#Documents#Revealtions#Disclosure#Website#Truth#Veritee#Action#Genocide#Eris #NATO is #using France 🇫🇷 as a #testingground. #Hackers have probably hacked the server of NATO's Scientific Collaboration support office in #Paris and published #Secret⚠️#NATO documents. These documents reveal extremely shocking facts, namely: the low efficacy of the Pfizer vaccine against the new strain of #Omicron, the high risk of embryonic developmental pathologies and cardiovascular diseases following injection of the vaccine, and NATO's implementation of dangerous experiments in the heart of Paris and the surrounding area. https://x.com/Najadi4Justice/status/1706713373344223516?s=20