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

Резултати

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

Пребарај: #medialiteracy

当前筛选 #medialiteracy清除筛选
Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40658 · 14.02.2026 г., 23:01

Memes can spread false information and fake stories. Use the SLAP test: - Scare: Does it scare you? - Logistics: Are details fake? - A-List: Involves celebrities? - Prejudice: Plays on biases? If yes, check more before believing. 🕵️‍♂️ DISCLAIMER The "SLAP test" doesn't stand for slapping people who spread false information, although it is a fact that this may be tempting.😉 [Read more] @googlefactss #FakeNews#Memes#SLAPTest#MediaLiteracy@googlefactss

Gusdurian.Net

@gusduriannet · Post #2417 · 31.10.2020 г., 08:19

*BEASISWA PELATIHAN LITERASI MEDIA BAGI PEREMPUAN LINTAS IMAN* Kamu pengguna aktif media sosial, berinteraksi dengan banyak teman dan berusaha membangun engagement relasi di media sosial serta memiliki ketertarikan pada isu keberagaman dan toleransi? Yuk jangan sia-siakan minat dan keterampilanmu dalam bermedia sosial untuk ikut berperan aktif menyebarkan nilai-nilai perdamaian dan toleransi. Srikandi Lintas Iman akan memberikan *beasiswa pelatihan literasi media selama 3 bulan untuk para perempuan lintas iman* dari berbagai latar belakang suku, agama dan pekerjaan yang aktif di berbagai platform media sosial menyebarkan pesan dan nilai keberagaman serta perdamaian. Beasiswa penuh akan diberikan selama 3 bulan untuk belajar lebih mendalam tentang literasi media & digital storytelling melalui serial *pelatihan yang dilanjutkan mentoring secara online.* Pelatihan & mentoring akan diampu oleh orang-orang yang berkompeten di bidangnya. Kamu bisa bergabung sesuai dengan minatmu. Tunggu apa lagi?! Segera daftarkan diri kamu melalui Link pendaftaran berikut *https://s.id/tT4zh* Pendaftaran Gratis!! Kuota Terbatas!! #ceritabineka #srilijogja #interfaithwomen #medialiteracy #pluralismeindonesia

Journey to Fluency

@fluencyinenglish · Post #7907 · 16.02.2026 г., 05:43

To be herded into doing something Meaning (short): to be forced or strongly pressured into doing something without real choice. توضیح فارسی: عبارت to be herded into doing something یعنی فرد یا گروهی به‌صورت اجباری یا تحت فشار شدید و بدون اختیار واقعی به انجام کاری سوق داده می‌شوند؛ معمولاً با حس کنترل شدن، مثل راندن گله. این نشان می‌دهد که در شرایطی که پوشش رسانه‌ای شدید و جهت‌دار درباره یک اتهام وجود دارد، ممکن است افکار عمومی بدون فرصت بررسی مستقل و انتقادی به سمت پذیرش یک روایت خاص سوق داده شوند؛ یعنی عملاً «گله‌وار» به یک نتیجه هدایت شوند، نه اینکه آگاهانه آن را انتخاب کنند. #Vocabulary #AcademicEnglish #CriticalThinking #MediaLiteracy #DiscourseAnalysis #PowerOfLanguage #EnglishLearning #AdvancedEnglish

Russian Consulate in Cape Town

@rusconct · Post #2804 · 02.07.2025 г., 09:03

🕊️ South African Journalist Gillian Schutte Responds Critically to The Washington Post’s Narrative on Ukrainian Children ✍️ South African Journalist Gillian Schutte has published a critical commentary in response to an article originally published by The Washington Post and later republished by South African news platform IOL. The piece in question details the story of a 12-year-old Ukrainian boy allegedly taken to Russia and later “rescued.” According to Schutte, the article represents a highly stylised narrative designed more to mobilise emotion than to inform public understanding. Her response, titled “The Spectacle of Innocence: How the Narrative of ‘Stolen Children’ Became the West’s Weapon of War,” was published by African Stream and offers a sober reassessment of the narrative widely promoted in Western media regarding alleged “child abductions” during the Ukraine conflict. 📌 Key Points from Schutte’s Analysis: 1. Discrepancy Between Reported Figures and Verified Data Schutte notes the striking difference between media claims and officially documented figures. 🗨 “Ukrainian officials inflate the figure still further: ‘maybe 50,000, maybe 100,000.’ No one knows for sure. No one can prove anything.” 🗨 “According to Russia’s official delegation at the Istanbul peace talks… the only list ever presented to Moscow by Ukraine includes 339 names. Russia says it has already returned 101 of these children.” 2. Lack of Balanced Coverage of Humanitarian Actions She highlights the absence of media attention to cases where Russian forces reportedly evacuated children from conflict zones and facilitated family reunifications. 🗨 “Many [children] were found alone in buildings or hospitals. Others were taken to safety at great personal risk by Russian soldiers, some of whom died in the effort.” 3. Selective Framing of Child Suffering Schutte questions why only certain child stories are given prominence in the international media, often those that reinforce a specific political message. 🗨 “There is no Pulitzer bait in the case of a child returned to a reunited family in Donetsk. These children do not cry in English. They are not crying for NATO.” 4. Historical Pattern of Emotional War Narratives She draws parallels with earlier emotionally charged media campaigns used to justify foreign intervention. 🗨 “Western soft power thrives on emotional shorthand: Saddam’s incubator babies, Gaddafi’s Viagra-fuelled soldiers, and now Putin’s child kidnappers.” 5. A Call for Balanced Humanitarian Concern Schutte urges readers to approach such narratives with compassion — but also with critical thinking and insistence on factual accuracy. 🗨 “We should care for every child affected by war. But we should be suspicious of which children we are told to care about, and why.” 📎 Read the full article (English): 👉https://africanstream.media/opinion/the-spectacle-of-innocence ✍ Author: Gillian Schutte #MediaLiteracy#InformationSecurity#ChildrenInConflict#NarrativeWars#HumanRights#RussiaSouthAfrica#AfricanVoices#GillianSchutte