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

Резултати

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

Пребарај: #pronunciation

当前筛选 #pronunciation清除筛选
Journey to Fluency

@fluencyinenglish · Post #7304 · 25.08.2019 г., 03:45

#pronunciation @fluencyinenglish ❇️Top consonant mistakes of Farsi speakers @fluencyinenglish 1. Say D instead of a hard TH (sounds like day instead of they) 2. Say T instead of a soft� TH (sounds like tin instead of thin) @fluencyinenglish 3. Say V instead of W (sounds like vine instead of wine) 4. Do not use voicing at the end of words (sounds like cap instead of cab) 5. Do not use sounds at the end of words (sounds like flow instead of float) @fluencyinenglish 6. Say a sound before consonant blends (sounds like eschool instead of school) 7. Roll R’s (sounds like rrrrrrrrrright instead of right) @fluencyinenglish

Oreo's Space

@OreosSpace · Post #855 · 04.04.2024 г., 09:06

Heist - [Hi-est] - [HIGH-ist] Because of that famous series Money Heist on Netflix often we use the word heist in our conversation. Sadly most of us make a mistake to pronounce it. Here is the CORRECT pronunciation of the word "HEIST". [American accent] #pronunciation

Learn RCRussian🤍💙❤️

@learnRCRussian · Post #5266 · 14.08.2025 г., 11:00

😳The words миллион [mi-li-on] (million) and миллиард [mi-li-ard] (billion) can now be pronounced as [мильон]=[mil'-yon] and [мильярд]=[mil'-yard]. 🔻These two permissible variants have been approved by the Vinogradov Russian Language Institute of the Russian Academy of Sciences. 🔻The changes are documented in the dictionary on the institute's website. 🔻They also apply to derived words, including from миллионный [mi-li-on-nyj] to [мильонный]=[mil'onnyy] (the millionth), and миллиардный [mi-li-ard-nyj] to [мильярдный]=[mil'-yard-nyj]. 🔻Previously, the institute's experts stated that the stress in the word звонит [zva-nit] (he/she rings/calls) would shift to the first syllable. ▶️More details about Звонит What is this world coming to... #news #pronunciation 😎RCR | Support | Boost

Learn RCRussian🤍💙❤️

@learnRCRussian · Post #5625 · 30.10.2025 г., 12:00

😅Stay strong, comrades! These are not the most difficult words to be pronounced in Russian. • Одна тысяча километров [ad-na ty-si-cha ki-la-met-raf] One thousand kilometers 🔻A colloquial variant: • Одна тыща километров [ad-na ty-shcha ki-la-met-raf] 🎧🗣👇 😉Would you dare to pronounce this in the comments? #pronunciation #learnRussian 😎RCR | Support | Boost

Learn RCRussian🤍💙❤️

@learnrcrussian · Post #4959 · 02.07.2025 г., 11:00

Не река, а мечта логопеда! Not a river, but a speech therapist's dream word! ❤️‍🔥And do you know that learning is always about overcoming yourself through misunderstanding, difficulties, and mistakes? It's very challenging, but it's precisely this that yields the best results. Therefore, when I see such complex words or tasks, I always feel happy for my students - they have a chance to overcome themselves and grow in their own eyes (and in mine too!). 🤩OK, comrades, it's a challenge! ❗️Can you pronounce this? • река Хольненгпухырьёхан [ri-ka khol'-nen-gpu-khy-r'yo-khan] 📎This river is located in Khanty-Mansi Autonomous Okrug, in Tyumen Oblast, Russia. #linguistic_joke #pronunciation 😎RCR | Support | Boost

Language Trivia 🤔

@languagetrivia · Post #341 · 17.11.2024 г., 10:38

Listen to the audio and choose the correct spelling for this famous sauce: A) Worchestershire sauce B) Wosterchire sauce C) Worstershire sauce D) Worcestershire sauce Follow 🌎@languagetrivia for more interesting questions #pronunciation#spelling

BBC Learning English

@english_bbc_learning · Post #3909 · 31.01.2026 г., 12:57

Stress changes meaning — but you have to hear it to notice it 👂 Some English words look the same as nouns and verbs, but the stress moves — and it sounds very different. Watch these short videos to actually hear it: 📹https://youtu.be/Hh1PlngNt2Q?t=64 📹https://www.youtube.com/watch?v=7q8yk896pnc ⁣ Listening is the only way you’ll spot the difference. Try saying these aloud after you watch 🎤 #EnglishLearning#Pronunciation#RealEnglish

Learn RCRussian🤍💙❤️

@learnRCRussian · Post #5629 · 01.11.2025 г., 16:47

Since there's a heated debate in ourgroup chat (@RCRussian2) about the longest Russian words, I'm adding fuel to the fire, comrades! 🔥 ⬇️Here are some of the most famously long words: 🔢Превысокомногорассмотрительствующий (35 letters) [pre-vy-so-ka-mno-ga-ras-smat-ri-tyel'-stvoo-yoo-schiy] His/Her Exceedingly-Many-Looking-Into-Things Excellency (An archaic, excessively obsequious title) 🔻Record: Listed in the Guinness World Records in 2003. 🔢Сельскохозяйственно-машиностроительный (37 letters) [sel'-ska-ha-zyay-stvin-na-ma-shi-na-stra-i-tyel'-nyj] Pertaining to agricultural machine construction. 🔻Record: The longest hyphenated adjective. 🔢Автоэлектростеклоподъёмники (27 letters) [av-ta-i-lek-tra-sti-kla-pad-yom-ni-ki] Auto-electric window lifts 🔢Человеконенавистничество (24 letters) [chi-la-ve-ka-ni-na-vi-sni-chi-stva] Misanthropy (hatred of humankind) 🔢 Who dares to risk their sanity and try to pronounce this wonderful verb? • Переосвидетельствоваться (24 letters) [pi-ri-a-svi-de-til'-stva-va-tsa] To be re-examined (officially, e.g., by a medical board). 🎧🗣👇 Who will dare to pronounce these words? #russian_language #longest_words #learn_russian #pronunciation 😎RCR | Support | Boost

Journey to Fluency

@fluencyinenglish · Post #7900 · 03.10.2025 г., 13:15

در IELTS Speaking، خصوصاً Part 3، نمره شما بر اساس مهارت زبانی (Fluency & Coherence, Lexical Resource, Grammatical Range & Accuracy, Pronunciation) داده می‌شود، نه میزان اطلاعات عمومی یا صحت factual. ✅ راهکارهای عملی 1. از تردید کردن نترسید و صادق باشید جملاتی مثل: “I’m not an expert in this field, but I think…” “I don’t know much about this, although it seems that…” به شما اجازه می‌دهد بدون توقف ادامه دهید. 2. استفاده از speculation یا حدس منطقی وقتی نمی‌دانید، می‌توانید با حدس منطقی نظر بدهید: “It might be because…” “Perhaps this will lead to…” 3. مثال شخصی یا تجربه روزمره بیاورید “From my own experience…” یا “In my city/school…” حتی اگر اطلاعات عمومی کم باشد، مثال شخصی به طولانی‌تر شدن پاسخ و انسجام کمک می‌کند. 4. تمرکز روی انسجام و روانی صحبت از ضمیرها و ربط‌دهنده‌ها (this, that, these, however, on the other hand) استفاده کنید تا جمله‌ها به هم وصل شوند. 5. استفاده از واژگان پیشرفته و ساختارهای گرامری متنوع به جای تکیه روی اطلاعات، از واژگان دقیق و اصطلاحات متداول آیلتس استفاده کنید: “plays a pivotal role” “poses a significant challenge” “from my perspective” 🔹 نمونه پاسخ با speculation Q: Do you think governments should invest more in renewable energy? > “I’m not fully aware of all the policies, but I think governments should invest more in renewable energy. It might help reduce pollution and create new jobs. For example, building more solar farms could provide electricity for many households. Although I don’t know all the details, it seems like a positive step for the future.” #IELTS#IELTSSpeaking#SpeakingTips#Hedging#Speculation#Fluency#Coherence#LexicalResource#Band8#آیلتس#Part3#EnglishSpeaking#LanguageTips#AdvancedEnglish#Pronunciation