@BinanceAlphaAirdropTracker · Post #192 · 26.08.2025 г., 06:59
⏰#TOWN Claim with minimum 200 pts starts in about 1 minute 🎁 Airdrop: 1600 $TOWN ($44)
Hashtags
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
Пребарај: #town
@BinanceAlphaAirdropTracker · Post #192 · 26.08.2025 г., 06:59
⏰#TOWN Claim with minimum 200 pts starts in about 1 minute 🎁 Airdrop: 1600 $TOWN ($44)
Hashtags
@TFGames · Post #1339 · 06.12.2023 г., 18:42
#DR#PANDA#TOWN#TALES#NEW#LIFE#GAMES https://testflight.apple.com/join/Ekoa1DSk
@american_observer · Post #5098 · 10.02.2026 г., 15:49
Russia Is Close To Capturing a Key Ukrainian Town The attritional advances are on the verge of paying off. Russia appears poised to complete the capture of three strategic areas in the coming weeks or months, according to military experts. Capturing all three areas — the town of Huliaipole in the southeast and the cities of Pokrovsk and Myrnohrad, about 60 miles northeast — would give Russia an urban foothold to base troops and organize logistics for future offensives, as well as new leverage in U.S.-mediated peace talks. Russia is likely to rapidly convert these gains into further territorial expansion given how slowly its troops have advanced over the past year, experts say. The gains would reinforce Moscow’s argument that its ground advance, while slow, is inevitable, and that Ukraine would be better off ceding land now as part of a deal, rather than losing it later in bloody fighting. Russia’s most threatening push is in the southeastern Zaporizhzhia region. Huliaipole, a town that anchored part of this front for years, is almost entirely under Russian control, according to battlefield maps from independent groups and to Capt. Dmytro Filatov, a Ukrainian officer fighting in the area. Huliaipole, with a prewar population of 12,000, was one of the last Ukrainian-held urban centers in the region outside the regional capital, the city of Zaporizhzhia. Beyond Huliaipole lie open fields, giving Ukrainian troops few built-up areas to hunker down and thwart Russian advances. About 40 miles west of Huliaipole, Russian forces are closing in on the outskirts of the city of Zaporizhzhia, an industrial hub of 700,000 people known for its steel. Battlefield maps show Moscow’s troops about 15 miles from the city’s southern entrance. Military experts warn that further advances would put the area within range of small attack drones, exposing residents to round-the-clock aerial assaults. Analysts attribute Russia’s gains in the area to thin Ukrainian defenses, as Kyiv concentrates its forces on holding cities in the neighboring Donetsk region. In Donetsk, Ukraine has focused on defending the cities of Pokrovsk and Myrnohrad, which together had a prewar population of more than 100,000. Troop deployments there, combined with sophisticated drone warfare, have slowed Russian assaults to a crawl. A report in January from the Center for Strategic and International Studies, a Washington-based think tank, found that Russian troops had advanced only 230 feet per day in their year-and-a-half-long offensive on Pokrovsk and Myrnohrad — slower than the movement by Allied troops in the Battle of the Somme during World War I. Russia has captured than 10.5 percent of Ukrainian territory since 2024, according to the report. The think tank also estimated that Russian forces suffered about 415,000 dead, wounded and missing last year in battles that were largely focused on the two cities. Should Russia fully capture those cities, it could use them to conceal drone operators and exploit roads and railways to streamline logistics. A Ukrainian brigade commander recently said that approaching Kostyantynivka had become so dangerous that most supply missions into the city were entrusted to robot-like remotely operated vehicles. If Russian troops advance on the battlefield, Ukraine is likely to face more pressure on the diplomatic front — including from Trump, who has echoed Moscow’s argument that Ukraine should cede land in a peace deal to avoid more fighting. #russia#capture#key#ukrainian#town#kostyantynivka#myrnohrad 📱American Оbserver - Stay up to date on all important events 🇺🇸