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

Резултати

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

Пребарај: #speakenglish

当前筛选 #speakenglish清除筛选

We are super excited for you to meet our friend, Bekzod Kholmurodov, an Uzbekistan-born sophomore student at Drexel University, USA this Saturday, at 19:00 Tashkent time! Don’t miss this unique opportunity to learn from someone who has an invaluable experience of coming to the US as an international high school student first, and now is a college student as a El-Yurt Umidi scholar! Invite your friends and get your questions ready!! #UzbeksInAmerica#SpeakEnglish#OneStepAtATime 🇺🇸🤝🇺🇿

BBC Learning English

@english_bbc_learning · Post #3765 · 25.11.2025 г., 10:12

⁣ 🥊 There are quite a few English phrasal verbs with ‘hit’ – here are 5 of them to learn and use. 👋 Have a go at the quiz – and see if you can use any of them in a sentence of your own! (Images: Getty)⁣ ⁣ Extra: Click on our link in bio to learn 4 phrases with 'hit'.⁣ ⁣ #learnenglish#vocab#vocabulary#speakenglish#englishtips ⁣

BBC Learning English

@english_bbc_learning · Post #3912 · 08.02.2026 г., 08:19

Let’s be real: You’ve probably seen a list like this 1,000 times. It looks repetitive, maybe even "dumb." But here is why it actually matters for you: When you only have one word for everything (like "Good"), your brain "glitches" when you're trying to speak fast. You hesitate because you're searching for variety but your "vocabulary folder" is empty. 🧠 The Secret to Speaking Fast:🛫 Fluency isn't about knowing the hardest words; it's about having options. When you have 3-4 ways to say the same thing, your brain doesn't have to stall. It just picks the next available word and keeps the flow going. - #English#SpeakEnglish#EnglishTips#Vocabulary#SpokenEnglish

Daily Channels

@dailychannels · Post #6511 · 28.11.2025 г., 13:00

Group: English Chatting House | Global English Speaking Chat Members: ~4.48K 💢 Username: @english_chatting_house Description: ⭐ Welcome to ECH! English only - global English chat, spoken English practice, fun talks & chill worldwide vibes. Talk English, meet international people, improve fluency, keep it clean. No beef, no hate, no promo. Got any queries? :- @Bilxerian 🏷 Tags: #languages #learnenglish#englishchat#speakenglish#englishgroup#globalchat https://telegramchannels.me/groups/english_chatting_house

BBC Learning English

@english_bbc_learning · Post #3937 · 02.04.2026 г., 15:48

Idiom of the Day! 🚌 Throw someone under the bus Meaning: To blame someone else so you don't get in trouble. Example: "Mark made the mistake, but he threw me under the bus!" 😠 #LearnEnglish#EnglishIdioms#Vocabulary#ESL#EnglishPhrases#SpeakEnglish

BBC Learning English

@english_bbc_learning · Post #3804 · 14.12.2025 г., 07:15

Do you know someone who always thinks that everyone else has a better life than them?! 🙄😅 Scroll through the images to find out how to use ‘the grass is always greener on the other side’ 🌱, and don’t forget to answer the questions on the last slide! ⁣ ⁣ EXTRA: Could walking 7,000 steps a day could improve your mental health? 🚶 Click the link in our bio to find out and learn some useful vocabulary in the process! 📰💚⁣ ⁣ Image: Getty⁣ ⁣ #vocabulary#learnenglish#englishlanguage#expression#idiom#proverb#englishclass#speakenglish

BBC Learning English

@english_bbc_learning · Post #3776 · 29.11.2025 г., 10:17

You know when somebody just WON’T change their ways? 😠 We’ve got an English expression for that! ✅ ⁣ ⁣ Scroll through the images to find out how to use ‘You can’t teach an old dog new tricks.’ ❌🐶 ⁣ ⁣ Can you use it in a sentence – and do you have a similar expression in your language? 👇👇👇⁣ ⁣ MORE: If you'd like to learn some more animal idioms, like 'rabbit on 🐰' or 'as sick as a parrot 🦜', click the link in our bio! ⁣ ⁣ Image: Getty⁣ ⁣ #trick#proverb#learnenglish#vocabulary#learnenglish#englishlanguage#expression#idiom#englishclass#speakenglish ⁣

BBC Learning English

@english_bbc_learning · Post #3809 · 15.12.2025 г., 05:11

Here are 5 linkers that you can add to your conversation to make it flow better and sound more fluent! 1) To be honest – I’m going to give my opinion (even if it’s insulting!) 2) Actually – to correct information or say something surprising 3) Mind you – I’ve just thought of something that contrasts what I was saying 4) By the way – I’m going to introduce a new topic I’ve just remembered 5) Anyway – I’m going to finish the conversation or change topic now Add them to your conversations to help them flow! Which one is your favourite? #learnenglish#speakenglish#vocabulary#bbclearningenglish#britishenglish#formalenglish#linkers#naturalenglish#nativespeakerenglish#conversationskills#ncoversationalenglish

BBC Learning English

@english_bbc_learning · Post #3691 · 21.09.2025 г., 05:35

🚀 Power up your English vocabulary with these FIVE phrasal verbs with ‘pay’! Take a look 👀 and then practise using them right now in the comments! 🤔 Do you know any more phrasal verbs with ‘pay’?⁣ ⁣ (Images: Getty)⁣ ⁣ 🎧 Click on the link in our bio to listen to Neil and Georgie talk about money!⁣ ⁣ #phrasal#phrasalverb#pay#payoff#payout#payup#payfor#learnenglish#vocab#vocabulary#speakenglish#englishtips