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

Резултати

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

Пребарај: #feed

当前筛选 #feed清除筛选
News and Tips

@NEWS_AND_TIPS · Post #2361 · 26.05.2024 г., 17:07

Hashtags Telegram #feed lite 😂😂😂 Tap on any hashtags : public posts : show as chat : congratulations you unlocked Telegram Feeds

Hashtags

☀️Beck’s☀️

@beck_blog · Post #1582 · 22.03.2021 г., 21:05

· · •🌼• · GRIDS DE INSTAGRAM · •🌼• · · En el ambiente de marketing actual de Instagram, tener una hermoso grid de Instagram es vital para el éxito de cualquier persona influyente, marca creativa o publicación. Después de todo, tu grid es la cara de tu marca; es lo primero que la gente ve cuando carga tu página de Instagram en su teléfono, tableta o computadora antes de decidir seguirte. Pero ¿que hace que un grid de Instagram sea bueno? A continuación te doy algunos consejos para conseguirlo. #tips_instagram#feed · · • • • • • · · · · • • • 🍃• • • · · · · • • • • • · ·

☀️Beck’s☀️

@beck_blog · Post #1334 · 13.02.2021 г., 14:05

· • •❄️• · GRIDS DE INSTAGRAM · •❄️• • · Hoy les hablaré de la tendencia que se gestó en Instagram de personalizar el feed de marcas y usuarios al estilo collage. Al efecto grilla que se logra en el feed con esta práctica se le llama Instagram grid layouts, rompecabezas o mosaicos. #tips_instagram#feed · · • • • • • · · · · • • • ☃️• • • · · · · • • • • • · ·

BotsGram®

@botsgram_cu · Post #4878 · 23.09.2022 г., 03:53

¿Que puede hacer este bot? @feedlio_bot Bot: fuente de noticias personal gratuita: agregue enlaces a canales interesantes y obtenga todas las publicaciones en un chat. Todos los demás canales se pueden archivar descargando la lista de diálogos. Lo que este bot puede hacer: - Sigue los canales que te interesen - Enviar todas las publicaciones nuevas a este chat. - Ahorre tiempo buscando canales entre chats personales y de trabajo #feed#canales#Seguir Idioma: Ruso ( Visto en: @BotsGram_Cu )

djangoproject

@djangoproject · Post #429 · 30.08.2017 г., 18:28

https://docs.djangoproject.com/en/1.11/ref/contrib/syndication/ The syndication #feed framework #Django comes with a high-level syndication-feed-generating framework that makes creating #RSS and #Atom feeds easy. To create any syndication feed, all you have to do is write a short Python class. You can create as many feeds as you want. Django also comes with a lower-level feed-generating API. Use this if you want to generate feeds outside of a Web context, or in some other lower-level way.

News and Tips

@NewsAndTipsNT · Post #3544 · 06.08.2025 г., 11:18

🔎Telegram May Be Quietly Testing a Feed like Feature Telegram has recently introduced a new ‘Posts’ tab in Search, allowing users to easily discover content from public channels. This update comes roughly a year after the launch of #hashtagsearch, signaling Telegram’s continued focus on improving content discoverability. This appears to be a soft launch of a potential future ‘Feed’ feature — offering users a scrollable stream of relevant #posts, possibly influenced by engagement metrics such as stars. If fully implemented, this feature could significantly boost post visibility for channels, increase ad exposure for advertisers, and enhance ad revenue opportunities for creators. All indications suggest that Telegram is gearing up to roll out a #feed-based content experience, a move that could reshape how users browse and interact on the platform.

BotsGram®

@botsgram_cu · Post #3745 · 31.03.2021 г., 14:04

¿Que puede hacer este bot? @WithqutRSSBot Este bot le permite mantenerse actualizado sobre las fuentes web que ingresó (RSS o Atom) Idioma: inglés (Visto en @botsgram_cu) #rss#feed#atom

Graph Messenger

@graphmessenger · Post #446 · 22.06.2024 г., 12:58

📄Timeline, a place where you can see all the messages from all subscribed channels. ❤️Redesigned In version 11.10.0 on June 20, 2024. 🗓Was added in version 5.0 on August 19, 2016. #features#message#timeline#feed #graph_messenger#telegram @GraphMessenger @GraphMessengerTips

News and Tips

@NEWS_AND_TIPS · Post #2363 · 26.05.2024 г., 18:19

About the recent update and future of Telegram. Based on recent updates and codes, we strongly believe that Telegram is moving in a direction similar to Twitter's. They introduced hashtag-based search/feed, which we anticipate will later evolve into a full-fledged news feed. Hashtags are also highly valuable for training AI algorithms. Furthermore, based on recent code developments, Telegram is working ona fact-checking feature, which we believe is inspired by Twitter's community notes. This tool is one of the most powerful on Twitter, and I respect and find it useful. Therefore, I consider this move by Telegram to be smart and powerful. #Hashtags#Feed#Future#Thoughts

ПретходнаСтраница 1 од 3Следна