TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #175 · 30 окт.

В прошлом посте говоря "Все вызовы теперь одинаковы" я несколько слукавил. Всё-таки есть в этом зоопарке версий некоторая несовместимость вызов которой просто так не унифицировать. Эти моменты вынесены в отдельный модуль QtCompat (compatibility). Там не так много функций но они довольно полезны. Этот модуль содержит унификаци модуля shiboken2, функций loadUi, translate и несколько переименованных функций классов или изменённую сигнатуру аргументов и возвращаемых значений. Это единственное исключение из правила когда вам потребуется где-то изменить свой код кроме импортов и этот код не похож на обычный код PySide2. Например, в PyQt4 и PySide есть метод QHeaderView.setResizeMode Для PyQt5 и PySide2 они были благополучно переименованы в QHeaderView.setSectionResizeMode Чтобы применить этот метод следует использовать такой код from Qt import QtCompath header = self.horizontalHeader() QtCompat.QHeaderView.setSectionResizeMode(header, QtWidgets.QHeaderView.Fixed) Унификация загрузки UI файлов: # PySide2 from PySide2.QtUiTools import QUiLoader loader = QUiLoader() widget = loader.load(ui_file) # PyQt5 from PyQt5 import uic widget = uic.loadUi(ui_file) # Qt.py from Qt import QtCompat widget = QtCompat.loadUi(ui_file) Хорошо что таких моментов не много и их легко запомнить. Полный список можно посмотреть в таблице. #qt#tricks

Hashtags

Резултати

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

Пребарај: #dreams

当前筛选 #dreams清除筛选
DGN

@DansGN · Post #5116 · 12.04.2023 г., 14:50

Media Molecule 宣布将于9月1日起停止对《Dreams》的在线支持(live support)。玩家依然可以继续创作,分享,游玩游戏内容,但 Media Molecule 将不会再为游戏提供内容更新或举办相关活动。更多细则请查阅原文 https://docs.indreams.me/en-US/whats-happening/news/dreams-support-update #Dreams

Hashtags

Quiet World 🍁

@QuietWorld · Post #7618 · 04.10.2020 г., 15:34

Rereading my Uncommon Dream Log ✨ It's worth writing & it's worth taking time to look up & interpret the meaning. Been writing only the uncommon ones. One each year since 2018. ✨ 31st Dec 2018 – Phoenix ✨ 2nd Sep 2019 – Four Lions ✨ 29 Sep 2020 – A pair of baby tortoises & a pair of goldfishes with arowana's colour Anyone here have uncommon dream log? 🙋‍♀ #thoughts#justme#dreams @qw_qwbot@quietworld🍃

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #24419 · 07.05.2026 г., 03:30

【🤖 AI人工智慧|Anthropic 推 Claude Dreams:Agent 在工作之間自整理記憶、消除重複與矛盾】 #AI記憶#Anthropic#Dreams Anthropic 於 5 月 6 日推出 Dreams,讓 Agent 具備自主整理記憶的能力。 該技術讀取百個 session 紀錄,並透過 beta header 支援指令輸入。這將記憶管理抽象化,實踐 Agent 隨使用效能不墜的技術目標。 📍閱讀全文: https://abmedia.io/anthropic-claude-dreams-managed-agents-research-preview-may-2026 📍 訂閱鏈新聞頻道:https://linktr.ee/abmedia.io

Luna Everly

@lunaeverly · Post #87 · 18.02.2026 г., 08:04

Stopped by my friend's place today✨ She has a whole studio! 🎮 Streaming chair, cool lights, microphone — it almost made me want to try too. What do you think, would I make a good streamer? Or better leave it to the pros? 😄 #LunaEverly#Streamer#Friend#Idea#Dreams

Notes I Never Shared 🌱

@notesinevershared · Post #69 · 28.08.2025 г., 19:20

🔄🇺🇿 #15 — 4 Kun ichida 3 ish taklifi: Hayotimdagi yangi bosqich Oradan 4 kun o‘tgach, men topshirgan Birlashgan Arab Amirliklaridagi kompaniyalardan menga qo‘ng‘iroq bo’ldi. Ular intervyu o‘tkazishdi. Tez orada 3 ta ish taklifini oldim. Qanday ish deb qiziqayotgan bo‘lsangiz, offitsiant (waiter)— bu ishga kirish va ketish uchun eng oson yo‘llardan biri. Bu jarayon menga sabr, qat’iyat va Allohga tavakkul qilishning ahamiyatini yana bir bor eslatdi. Harakat qilmasdan, faqat orzu qilish bilan hech narsaga erishib bo‘lmaydi. Har bir qadam, har bir qaror — bu yangi imkoniyatlarga yo‘l ochadi. 🔄🇬🇧 #15 — 3 Job Offers in 4 Days: A New Chapter Begins Just three days later, I received a call from the companies I had applied to in the United Arab Emirates. They conducted an interview, and soon after, I received three job offers. Curious about the role? It's a waiter position — one of the easiest entry points into the job market there. This experience reminded me of the importance of patience, determination, and placing trust in Allah. Simply dreaming without taking action leads nowhere. Every step, every decision opens doors to new opportunities. #EverythingILived#TrustInAllah#Action#Dua#Dreams#Dubai#NewChapter