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

Резултати

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

Пребарај: #cleanenergy

当前筛选 #cleanenergy清除筛选

⚡️Рекордные показатели в энергетике ⚡️ Великобритания вошла в историю: в 2024 году ветроэнергетика произвела 30% всего электричества страны – впервые став крупнейшим источником энергии. A 18 декабря 2024 г. ветроэнергетика обеспечила невероятные 68.3% электричества Британии – это новый рекорд! Ветроэнергетика является краеугольным камнем цели нового правительства Великобритании по полной декарбонизации энергопотребления в Великобритании к 2030 году, наряду с обязательством удвоить мощность наземной ветроэнергетики и увеличить в 4x мощность морской ветроэнергетики к 2030 году. #CleanEnergy#WindPower

🚨Переломный момент 🚨 Сегодня – Международный день чистой энергии. Знали ли вы, что Великобритания достигла более 50% возобновляемой электроэнергии в течение ЧЕТЫРЕХ кварталов подряд! Еще впечатляющее: 58% электроэнергии Британии поступило из чистых источников в 2024 году, а последняя угольная электростанция навсегда закрылась в сентябре. 🌎Будущее – за возобновляемой энергией! 🌎 #CleanEnergy#SustainableFuture

👆स्वच्छ ऊर्जा से संचालित नया भारत।। 🇮🇳 पिछले 9 वर्षों में गैर-जीवाश्म स्रोत से उत्पादन बिजली क्षमता में उल्लेखनीय वृद्धि हुई है। भारत 2030 तक 50% गैर-जीवाश्म स्रोत से ऊर्जा उत्पादन करने की दिशा में निरन्तर प्रयासरत है। #CleanEnergy #NewIndia#Electricity

International News

@intnewsagency · Post #9319 · 09.04.2026 г., 10:40

China Strengthens Its Position Amid Global Energy Crisis China is better prepared for the global energy crisis thanks to vast oil reserves and advanced clean energy infrastructure. Beijing has boosted strategic reserves and invested heavily in solar, wind, and battery technologies, reducing risks from disruptions like those at the Strait of Hormuz. Coal remains vital, ensuring energy diversification. This crisis is set to further increase China’s influence in the global energy system. #China#Energy#GlobalCrisis#CleanEnergy#Strategy The main news of Russia and the world ishere.

Venture Village Wall 🦄

@venturevillagewall · Post #3659 · 21.12.2024 г., 10:25

InoBat Raises $103.62M InoBat has successfully raised $103.62 million, marking a significant step forward in its mission to develop customized batteries aimed at promoting a sustainable future. The funding round took place on December 20, 2024. For more details, visit InoBat. #InoBat#Funding#Batteries#Sustainability#CleanEnergy

ኢትዮጵያ ጨለማን ለመግፈፍና በንፋስ ኃይል ብርሃን እየፈጠረች ነው ************** ኢትዮጵያ ጨለማን ለመግፈፍና በንፋስ የብርሃን መንገድ ለመራመድ በአሸጎዳ፣ አዳማና አይሻ የጀመረችውን ጉዞ አሁን አሰላ ላይ ደግማዋለች። ይህን አስመልክተው መልዕክት ያስተላለፉት ጠቅላይ ሚኒስትር ዐቢይ አሕመድ (ዶ/ር) ኢትዮጵያም ሆነች አፍሪካ በ21ኛው ክፍለ ዘመን አጋማሽና ከዚያ በኋላ የሚመኙት ዕድገት ተፈጥሮን በማይጎዳና ከተፈጥሮ ጋር በስምምነት የሚከናወን መሆኑን ያሳያል ብለዋል። ፕሮጀክቱ 100 ሜጋ ዋት ንጹሕ የኤሌክትሪክ ኃይል የሚያመነጭ ሲሆን፣ እያንዳንዳቸው 3.46 ሜጋ ዋት ኃይል የሚያመነጩ 29 ተርባይኖች አሉት። ሙሉ ዜናውን… https://web.facebook.com/share/p/1CaDVyfbGU/ #Ethiopia#CleanEnergy#WindPower#AsellaWindFarm#GreenEnergy#Sustainability

🌞🇿🇦 South Africa’s Solar Breakthrough In 2005, Prof. Vivian Alberts (pictured) of the University of Johannesburg developed a groundbreaking thin-film solar technology that could transform renewable energy. Instead of thick, costly silicon panels, his design uses a metal-based semiconductor alloy only 3 microns thick (vs. ~300 microns for standard silicon panels) — dramatically reducing material costs. Through his company PTiP (Photovoltaic Technology Intellectual Property), and in partnership with German engineering firm Singulus Technologies, a semi-commercial facility was launched in Stellenbosch to produce these next-gen panels. 🔋Why it matters: ⚡️ Far cheaper to manufacture 🌥 Generates power even in cloudy weather 🌍 A major step toward clean, affordable energy #SouthAfrica#Innovation#Solar#RenewableEnergy#CleanEnergy#Sustainability

📍 "የነገዋ አፍሪካ ብርሃን፦" ጠቅላይ ሚኒስትር ዐቢይ አሕመድ ለቀጣዩ ትውልድ የሚተርፍ የንጹህ ኃይል መሠረት መጣሉን ተናገሩ የ21ኛው ክፍለ ዘመን ሁለተኛ አጋማሽ የ"አፍሪካ ዘመን" እንዲሆን ዛሬውኑ ጠንካራ መሠረት መጣል እንደሚገባ ጠቅላይ ሚኒስትር ዐቢይ አሕመድ (ዶ/ር) አሳሰቡ። ጠቅላይ ሚኒስትሩ አፍሪካን ወደ ላቀ ዕድገት የሚያሻግሩ ሁለት ቁልፍ ምሰሶዎችን ጠቁመዋል፦ 🔹 ብቁ ትውልድ መገንባት፦ በሕፃናት ትምህርት ላይ መዋዕለ ንዋይ በማፍሰስ ነገን የሚረከብ ብቁ ዜጋ ማዘጋጀት። 🔹 ከተፈጥሮ ጋር የተስማማ ልማት፦ አካባቢን የማይበክልና ለቀጣይ ትውልድ የሚተርፍ የአረንጓዴ መሰረተ ልማት ግንባታን ማፋጠን። ቁልፍ ነጥቦች፦ ✅ የንጹህ ኃይል ስጦታ፦ ኢትዮጵያ ለቀጣዩ የአፍሪካ ዕድገት የምታበረክተው ትልቁ ስጦታ ከውኃ፣ ከንፋስና ከጂኦተርማል የሚመነጭ ታዳሽ ኃይል መሆኑ ተገልጿል። ✅ የሕዳሴው ግድብ ፋይዳ፦ "የሕዳሴ ግድብ አፍሪካውያን ከተደመሩ አንጋፋ ሥራዎችን ጀምረው መጨረስ እንደሚችሉ ያሳየን የምሳሌነት ምልክት ነው" - ጠቅላይ ሚኒስትር ዐቢይ አሕመድ። ✅ አረንጓዴ ዕድገት፦ ካለፈው ክፍለ ዘመን በተቃራኒ፣ የኢትዮጵያ የኢኮኖሚ ጉዞ ተፈጥሮን የማይበክልና አህጉራዊ ትስስርን የሚያጠናክር እንደሆነ ተረጋግጧል። ኢትዮጵያ ዛሬ የምትጥለው መሠረት ለነገዋ አፍሪካ የብልፅግና ጮራ እና የታዳሽ ኃይል ማዕከልነቷ ዋስትና መሆኑ ተመላክቷል። #Ethiopia#LightOfAfrica#CleanEnergy#GreenDevelopment#GERD#AfricaRising#ኢትዮጵያ

Venture Village Wall 🦄

@venturevillagewall · Post #3535 · 20.12.2024 г., 09:31

ZunRoof Secures $2.36M Funding ZunRoof has raised $2.36 million in funding as of December 18, 2024. The company specializes in solar rooftop installation, promising a quick setup in just 9 days, allowing users to save money and switch to clean energy efficiently. Learn more at ZunRoof. #Funding#Solar#CleanEnergy#Rooftop#Installation#Sustainability#ZunRoof

Rosatom Global

@rosatom_global · Post #187 · 25.09.2025 г., 11:57

Official Start of World Atomic Week This event serves as a key platform for dialogue among the global nuclear industry leaders. The ceremony was attended by officials from Russia and international organizations: 🔹 Sergey Kiriyenko, First Deputy Chief of Staff of the Presidential Executive Office, Chairman of the Rosatom Supervisory Council 🔹 Alexander Novak, Deputy Prime Minister of the Russian Federation 🔹 Rafael Mariano Grossi, Director General of the International Atomic Energy Agency (IAEA) 🔹 Sama Bilbao y León, Director General of the World Nuclear Association (WNA) 🔹 Alexey Likhachev, Director General of ROSATOM Such high-level participation underscores the forum's exceptional importance for developing common approaches to the future of clean and safe nuclear energy. #Rosatom#WorldAtomicWeek#NuclearEnergy#IAEA#WNA#Moscow#FutureOfEnergy#CleanEnergy

IELTS|Newspapers & Magazines|English

@emagzinewspars · Post #9728 · 14.12.2025 г., 15:59

#Beijing_Review🇨🇳📕[PDF]⬇️ 11 #December2025 #Weekly_Magazines For learning, for free(dom). @backupofmagazines This issue centers on rule-of-law governance and China’s evolving development path, with the cover story tracing a shift from digital tools to people-centered justice under #RuleOfLaw and #Governance. Opinion pieces explore contemporary China through primary sources and pragmatic diplomacy, while features examine private investment, battery life-cycle management, and an emergency space launch highlighting #Innovation and #Technology. Energy ambitions take shape in the discussion of China’s “artificial sun,” reflecting long-term #CleanEnergy goals. Cultural and expat perspectives round out the issue, offering insight into heritage, youth exchange, and modernization in everyday China under #ChinaFocus and #GlobalDialogue.

EKOLOG.UZ| ENG

@ekologuzenglish · Post #10322 · 14.11.2025 г., 12:59

#ClimateCrisis 🌍 The world is sinking into fossil fuels Oil, gas, and coal account for 75% of global greenhouse gas emissions and nearly 90% of CO₂ emissions. 🔥 2024 became the hottest year in recorded history — global temperatures have risen 1.5°C above pre-industrial levels for the first time (according to @CopernicusClimate). ❄️ Consequences: • Melting of polar ice caps • Rising sea levels • Intensifying storms and droughts • Populations who contributed least to climate change are suffering the most ⛽️ Despite the crisis, consumption of oil, gas, and coal is increasing. 🌡 According to @UNEP, 2024 set a record for CO₂ emissions. Many governments and corporations are promising “net zero,” yet in practice, fossil fuel extraction is being doubled. 🗣 “Governments are doubling fossil fuel extraction — this is double the risk for humanity and the planet,” — said UN Secretary-General António Guterres. 📊 According to the @InfluenceMap report: Just 57 corporations and state-owned companies were responsible for 80% of CO₂ emissions from fossil fuel and cement production between 2016 and 2022. 💡 The solution is a transition to clean energy and local resources. But without transparency, investigative journalism, and public pressure, change will not happen. 🟢 Climate responsibility is not an abstract concept. It involves real names and real actions. #EcoUz#ClimateCrisis#Copernicus#UNEP#CleanEnergy#ZeroEmission#StopFossilFuel#AralRegion#SustainableFuture ☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.

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