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

Резултати

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

Пребарај: #nfts

当前筛选 #nfts清除筛选

Aqua Army is launching its first NFT project🌊 Mint 31/05/22 🚀 Release/reveal 06/06/22🧨 Aqua Army is an exclusive collection of 4,444 unique #NFTs that submerge you into a world of deep-sea adventure, purpose and collectibles living on the Ethereum network🐟 Every NFT is hand drawn with over 500+ traits over 8 sea characters living in different waters. 1 mint of 0.09ETH will clean up 300 plastic bottles from our oceans. A great portion of the proceeds will be donated to 5 non-profit based charities, who they've officially partnered with💰 Any Whitelist member will automatically be enrolled into a prize draw to WIN one of five AA NFTs 💵💵 Twitter 👇 https://twitter.com/AquaArmyNFT Join Minting👇 https://bit.ly/3NLQmgF Website & WL👇 https://aquaarmynft.com/?whitelist=true

Hashtags

​​🎙Aqua Army is launching its first NFT project🌊 Mint = 17th of May 🔥 Reveal/release = 23rd May🔥 Aqua Army is an exclusive collection of 4,444 unique #NFTs that submerge you into a world of deep-sea adventure, purpose and collectibles living on the Ethereum network🐟 Every NFT is hand drawn with over 500+ traits over 8 sea characters living in different waters. 1 mint of 0.09ETH will clean up 300 plastic bottles from our oceans. A great portion of the proceeds will be donated to 5 non-profit based charities, who they've officially partnered with💰 Any Whitelist member will automatically be enrolled into a prize draw to WIN one of five AA NFTs 💵💵 Twitter👇 https://twitter.com/AquaArmyNFT Discord👇 https://discord.com/invite/2ZnscjzSJZ Website & WL👇 https://aquaarmynft.com/?whitelist=true

Hashtags

🚀🚀The intelligent investors💯💯

@the_intelligent_investors · Post #42 · 15.12.2021 г., 15:18

Rad rabbits intensified! Sold over 1000 Rad rabbit #NFTs in less than 24 hours Last chance to get your rad rabbits with $AAA : http://radrabbbits.org 5600 #NFTs already sold Funds and projects are considering these #NFTs as bluechips Don’t miss out on these #NFTs

Hashtags

News and Tips

@NewsAndTipsNT · Post #3166 · 02.03.2025 г., 17:35

#Telegram now displays #NFTs in the profile background. You can click on them individually to view their details. Only pinned NFTs appear in the background, they appear exactly like your pinned order.

TONlines – News

@tonlines · Post #6920 · 23.04.2025 г., 17:20

TON Community: Guide to the Revival of NFTs #NFTs#Telegram The TON Community discusses the resurgence of NFTs in 2025, highlighting their integration into Telegram for easy use without wallets or gas fees. Animated stickers, digital gifts, and collectible items are now easily accessible. For more details, check their latest blog on TON NFTs. Source: link @tonlines

🏆 Premium, NFT, Tokens

@giiveaways · Post #3315 · 29.11.2024 г., 08:53

Boost Your Wins! 🏹 Complete tasks, grow your streak, and earn rewards like NFTs and TON tokens. 🎉Grand Lottery with 2,000 TON ends December 26th! 👉 Start now: https://t.me/tapps/app ➖➖➖➖➖➖➖➖➖➖➖ #NFTs#TON

Hashtags

Walken.io - Announcement

@walken_channel · Post #52 · 11.03.2022 г., 09:19

Next Monday we are releasing the beta version for the first 2000 testers on iOS. Are you excited? We definitely are! 🎉🎉🎉 P.s. you still can sign up for the whitelist on the website. $WLKN #gamefi#nfts

Hashtags

Walken.io - Announcement

@walken_channel · Post #39 · 21.02.2022 г., 14:29

Get ready for sprint🦶 A road race with a distance of 60 to 400 meters where most speed is the key. 3..2..1 - and the competition is kicked off. Just challenge a randomly selected rival and win the race😉 $WLKN #gamefi#nfts

Hashtags

123•••56
ПретходнаСтраница 1 од 6Следна