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

Резултати

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

Пребарај: #biodiversity

当前筛选 #biodiversity清除筛选
Interesting Planet 🌍

@interesting_planet_facts · Post #1190 · 04.01.2026 г., 12:11

🌎 Some mid-ocean ridges, like the Mid-Atlantic Ridge, are areas where new seafloor is constantly created as tectonic plates move apart. Hydrothermal vents along these ridges support unique ecosystems, including tube worms and giant clams, which thrive in total darkness using chemical energy instead of sunlight. ✨ #ocean⚡#geology⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #586 · 19.08.2025 г., 00:22

🌎 Deep beneath the Caribbean Sea, the deepest known blue hole—Dean’s Blue Hole—plunges over 200 meters. Its tight entrance leads to vast, vertical caverns, hosting unique marine life adapted to total darkness and low oxygen levels. ✨ #geology⚡#ocean⚡#biodiversity 👉subscribe Interesting Planet

Tomoko RD

@tomoko_channel · Post #447 · 01.06.2024 г., 14:59

🔖 [破事氵] 自家老板想做游戏的后续 NGA玩家社区 P3 #pinboard#game#biodiversity 二游这边的瓜真是越吃越大,男女对立、转移支付、混厕什么的。 前几天逛了一下 nga 以及贴吧,真的是接近粪坑了,全是各种二游在社区 PVP。(大脑被污染了,CPU满负荷,谁来救救) https://bbs.nga.cn/read.php?tid=40389397&page=3 #二游节奏

Eco-schools Uzbekistan

@ecoschools_uzbekistan · Post #1032 · 24.05.2024 г., 07:02

👋😉 Barchaga salom! 🐳 Xalqaro bioxilma-xillik kunida Toshkentdagi BMTTD mamlakat ofisi "Eco-schools Uzbekistan" loyihasi ishtirokchilari uchun Ochiq eshiklar kunini o‘tkazdi. 🌲 BMTTD xodimlari bolalarimizga qiziqarli ekskursiya uyushtirib, o‘z ofisida qo‘llanilayotgan ekologik yechimlar va qiziqarli BIOFIN tashabbusi haqida ma’lumot berishdi hamda uning tabiatni asrash va tiklashdagi o‘rni haqida so‘zlab berishdi. Tadbir yakunida o‘quvchilar olingan bilimlarni mustahkamlash maqsadida viktorinada ishtirok etdi. #EcoSchoolsUzbekistan#Biodiversity#BIOFIN — 👋😉 Всем привет! 🐳 В Международный день биоразнообразия страновой офис ПРООН в Ташкенте провёл День открытых дверей для участников проекта Eco-schools Uzbekistan. 🌲 Сотрудники UNDP устроили нашим ребятам интересную экскурсию, рассказали об экологических решениях, которые уже применяют в своём офисе и об интересной Инициативе БИОФИН и какую роль она призвана играть в сохранении и восстановлении природы. А в завершении мероприятия школьники приняли участие в викторине, чтобы закрепить полученные знания. #EcoSchoolsUzbekistan#Biodiversity#BIOFIN 🌐Zamin🌐Instagram🌐Facebook

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40018 · 05.11.2025 г., 14:04

Today we at @googlefactss present to you: Alytes muletensis — the Majorcan midwife toad. First only known from fossils in 1977 and presumed extinct, live individuals were found in Mallorca three years later. This tiny endemic lives only in Tramuntana mountain streams, where males carry and keep the eggs moist on their backs until they hatch. 🐸🌿 [Source] @googlefactss #conservation#biodiversity#LazarusSpecies

Interesting Planet 🌍

@interesting_planet_facts · Post #1146 · 20.12.2025 г., 12:11

🌎 The saiga antelope’s enlarged, drooping nose acts as a built-in air filter and cooler on the Central Asian steppes. When alarmed, herds can stampede at speeds up to 80 kilometers per hour. ✨ #animals⚡#evolution⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1019 · 09.11.2025 г., 18:11

🌎 The shoebill stork stands over 1.2 meters tall and has a massive, shoe-shaped bill up to 24 centimeters long. Native to East African swamps, this solitary bird hunts lungfish, frogs, and even baby crocodiles. ✨ #animals⚡#biodiversity⚡#evolution 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1376 · 17.04.2026 г., 12:11

🌎 In Slovenia, the Postojna Cave harbors a rare blind amphibian called the olm, which can live without food for up to 10 years. The cave stretches over 24 kilometers and contains vast chambers, underground rivers, and prehistoric animal remains. ✨ #geology⚡#caves⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1167 · 26.12.2025 г., 22:11

🌎 Beneath Borneo’s limestone hills, the Clearwater Cave system spans over 237 kilometers, making it one of the world’s largest interconnected cave networks. Its underground river flows for 11 kilometers, supporting unique species like blind catfish and swiftlets that nest in its dark chambers. ✨ #caves⚡#geology⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #1080 · 28.11.2025 г., 12:11

🌎 The world’s deepest cave, Veryovkina Cave in Georgia, plunges to 2,212 meters below the surface. Its vertical shafts, tight squeezes, and frigid underground streams challenge expert cavers. Specially adapted crustaceans and fungi live in total darkness at these extreme depths. ✨ #caves⚡#geology⚡#biodiversity 👉subscribe Interesting Planet 👉more Channels ​

Interesting Planet 🌍

@interesting_planet_facts · Post #704 · 07.09.2025 г., 13:22

🌎 In Croatia’s Velebit Mountains, the Lukina Jama–Trojama cave system plunges over 1,431 meters deep, housing rare leech species and tiny amphipods. Exploring these deep caves requires specialized rope techniques and careful study of underground water flows, revealing new life forms adapted to total darkness and isolation. ✨ #caves⚡#biodiversity⚡#geology 👉subscribe Interesting Planet ​

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