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

Резултати

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

Пребарај: #sciencefiction

当前筛选 #sciencefiction清除筛选
movies & series 🍿

@images · Post #1966 · 17.03.2026 г., 17:30

🍿 'Dune: Part Three' promises the wildest chapter yet: Villeneuve hits the gas and Pattinson arrives like a desert demon 📆Release: December 18, 2026 🎭Genre: #ScienceFiction · #Thriller I’m completely sold on Denis Villeneuve’s vision: if the first film was contemplative and the second was a war movie, 'Dune: Part Three' wants to be a full-on thriller, tighter, more physical, and far more brutal. ⚔️🌵 The story jumps ahead 17 years and puts Paul Atreides face-to-face with the consequences of his power, with Chani once again at the emotional center of it all. What grabbed me most about the first trailer is its almost feverish energy: Timothée Chalamet radiates a deeply unsettling darkness, Zendaya looks set to have far more weight than Chani had in the book, and Robert Pattinson shows up as Scytale with a truly disturbing presence, somewhere between an albino messiah and an impossible villain. 😵‍💫 On top of that, Hans Zimmer once again turns Arrakis into the kind of IMAX experience that leaves you completely drained.

movies & series 🍿

@images · Post #1758 · 10.01.2025 г., 21:16

🍿 'Companion': Jack Quaid faces off against his robot girlfriend in a relentless thriller 🤖💥 📆Release: January 31, 2025 🎭Genre: #Thriller · #ScienceFiction In 'Companion', Josh (Jack Quaid - 'The Boys') discovers that his girlfriend Iris (Sophie Thatcher - 'Yellowjackets') is a perfect android. When he modifies her settings, their relationship turns deadly, triggering a series of intense events in a remote cabin. Expect the typical shocking plot twists and a narrative reminiscent of Barbarian. The chemistry between Quaid and Thatcher heightens the suspense, while director Drew Hancock delivers a fresh take on A.I., focusing on empowerment and self-discovery. 🎬✨

movies & series 🍿

@images · Post #1520 · 13.05.2024 г., 14:41

🍿 Exploring Cyber Horrors: 'Latency', the New Face of A.I. Terror 🎮 📆Premiere: June 14, 2024 🎭Genre: #ScienceFiction · #Horror James Croke, a novel Australian director, immerses us in an anguishing science fiction thriller with 'Latency'. 🧠👾 Sasha Luss ('Anna') and Alexis Ren ('The Enforcer') shine in this story about an agoraphobic gamer who tests an A.I. device capable of reading her mind. What starts as an improvement in her game soon becomes a dark journey between reality and the subconscious. 🕹💔 Is this technological advancement a help or does it hide a more sinister force? Get ready for a chilling journey where the line between technology and horror is as thin as it is alarming!

movies & series 🍿

@images · Post #1647 · 25.08.2024 г., 11:25

🍿 'Terminator Zero': The rebirth of a legend in anime form 📆Release: August 29, 2024 🎭Genre: #Animation · #ScienceFiction After several missteps in cinema, the 'Terminator' franchise reinvents itself with an exclusive anime on Netflix. 'Terminator Zero' takes us to Japan, where a scientist named Malcolm Lee becomes Skynet's target. The big twist is that the story shifts away from the franchise's classic American focus to explore how the war against the machines impacts other parts of the world. The series is a collaboration with Production IG, the studio behind hits like 'Haikyuu!!'. Could this be the resurgence fans have been waiting for? 👾

movies & series 🍿

@images · Post #1690 · 18.09.2024 г., 13:44

🍿 Robert Pattinson Multiplies Himself in 'Mickey 17', Bong Joon Ho's New Madness 📆Release: January 31, 2025 🎭Genre: #ScienceFiction · #DarkComedy 🎟 Bong Joon Ho, the genius behind 'Parasite', returns with 'Mickey 17'. Robert Pattinson multiplies himself, literally!, in this adventure where his character, an 'expendable' (disposable), dies and is cloned over and over again on a mission to colonize an icy planet. 🧊 The most curious thing is the peculiar tone of voice Pattinson has adopted, which already has fans obsessed. Plus, the cast is top-notch: Steven Yeun from 'Minari', Toni Collette from 'Hereditary', and Mark Ruffalo from 'The Avengers'. If 'Parasite' left us speechless, I can't wait to see what Bong brings us this time. 🚀

movies & series 🍿

@images · Post #1515 · 10.05.2024 г., 20:29

🍿 Discover the Deadly Silence of New York in 'A Quiet Place: Day One' 🌆🔇 📆Premiere: June 28, 2024 🎭Genre: #Suspense · #Horror · #ScienceFiction Get ready for the release of 'A Quiet Place: Day One', where Lupita Nyong'o ('12 Years a Slave') and Joseph Quinn ('Stranger Things') immerse us in a New York transformed into a sound extermination camp. The tension escalates in a world where the slightest sound can be your doom. 🎬👾 In this thriller, we will see how desperate characters learn to manipulate chaos to survive, while facing ruthless creatures in a deafening silence. Michael Sarnoski's direction promises to expand this saga with an intense dramatic twist, exploring intertwined destinies at a critical moment for humanity. Don't miss this chilling journey to the day the world fell silent. > 𝘴𝘦𝘳𝘪𝘦𝘴 · 🚀𝘣𝘰𝘰𝘴𝘵

movies & series 🍿

@images · Post #1522 · 15.05.2024 г., 17:51

🍿 'Dune: The Prophecy': The Prequel that Will Change the Dune Universe 🌌 📆Premiere: This fall 🎭Genre: #ScienceFiction · #Action · #Adventure · #Fantasy 🎬 Get ready to travel 10,000 years before Paul Atreides with 'Dune: Prophecy'! The Max series, based on the novel 'Sisterhood of Dune', follows the Harkonnen sisters, played by Emily Watson and Shirley Henderson, in their struggle to create the mythical Bene Gesserit sect. This powerful female order promises to redefine the fate of the galaxy. 🔮 What's interesting here is how we will see the beginnings of this intriguing sisterhood, previously explored in the movies by Denis Villeneuve. With a stellar cast and an engaging plot, 'Dune: The Prophecy' is a must-see journey for fans of the saga like me. 🚀✨

movies & series 🍿

@images · Post #1952 · 04.01.2026 г., 23:40

🍿 ‘Avengers: Doomsday’ brings Steve Rogers back… and now he’s a dad 👶🛡 📆Release: December 18, 2026 🎭Genre: #Superheroes · #Action · #ScienceFiction ✈️Add movie Marvel has dropped the first official teaser and confirms what many of us already suspected: Chris Evans returns as Steve Rogers. No dialogue, the classic Avengers theme, and a very deliberate image: Steve rides his motorcycle to a farmhouse, cradles a newborn baby, and then pulls the Captain America suit out of storage, like someone flipping through an old album from a past life. It all ends with the on-screen line: ‘Steve Rogers will return in Avengers: Doomsday’. Pure nostalgia straight to the veins 🧨 I’m intrigued by the hook, but I’m also worried they might tamper with the perfect ending of Avengers: Endgame. To me, the teaser feels heavier on marketing than on cinema… 😅

movies & series 🍿

@images · Post #1950 · 23.12.2025 г., 18:36

🍿 ‘Avengers: Doomsday’ brings Steve Rogers back… and now he’s a dad 👶🛡 📆Release: December 18, 2026 🎭Genre: #Superheroes · #Action · #ScienceFiction ✈️Add movie Marvel has dropped the first official teaser and confirms what many of us already suspected: Chris Evans returns as Steve Rogers. No dialogue, the classic Avengers theme, and a very deliberate image: Steve rides his motorcycle to a farmhouse, cradles a newborn baby, and then pulls the Captain America suit out of storage, like someone flipping through an old album from a past life. It all ends with the on-screen line: ‘Steve Rogers will return in Avengers: Doomsday’. Pure nostalgia straight to the veins 🧨 I’m intrigued by the hook, but I’m also worried they might tamper with the perfect ending of Avengers: Endgame. To me, the teaser feels heavier on marketing than on cinema… 😅

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40903 · 06.04.2026 г., 00:05

Isaac Asimov died on April 6, 1992. He created the Three Laws of Robotics. These laws state that a robot cannot harm a human, must obey humans, and must protect itself unless this conflicts with the first two laws. 🤖📚 [Read more 1] [Read more 2] @googlefactss #IsaacAsimov#Robotics#ScienceFiction#DidYouKnow

ከሳይንስ ልብ-ወለድ ወደ ጦር ሜዳ፦ የሕንድ ‘አይረን ማን’ እና የመከላከያ ኢንዱስትሪው ግስጋሴ ********************** በሲኒማ ጥበብ ዓለም ‘አይረን ማን’ (Iron Man) የተሰኘው የሳይንስ ልብ ወለድ ፊልም ገጸ-ባሕርይ ቶኒ ስታርክ፣ በዘመናዊ ቴክኖሎጂ በተገነባ ልብስ ታግዞ በሰማይ ላይ ሲምዘገዘግ ማየት ለብዙዎቻችን አስደናቂ ትዕይንት ነበር። በተመሳሳይ በሕንድ ቦሊውድ ሲኒማም በቅርቡ በታየው “ፓታህን” (Pathaan) ፊልም ላይ ሻህሩክ ካን በጀርባው ባጠለቀው የጄት መሣሪያ ታግዞ ከጠላቶቹ ጋር በአየር ላይ ሲፋለም ታይቷል። ይህ ለአንድ መቶ ዓመታት ያህል በልብ ወለድ ድርሰቶች ውስጥ ብቻ ታጥሮ የቆየው “የሚለበስ በረራ” (Jetpack) ቴክኖሎጂ፣ ዛሬ ከፊልም ስክሪን ወጥቶ በገሃዱ ዓለም የጦር ሜዳና የነፍስ አድን ሥራዎች ላይ ስምሪት መጀመሩን የሕንድ መከላከያ ሚኒስቴር ይፋ አድርጓል። ሙሉ መረጃውን እዚህ ያገኙታል #EBC#ebcdotstream#India#sciencefiction#ironman

Velvet Pages | eLibrary 🥂

@bookslibraryofficial · Post #1249 · 05.05.2025 г., 04:04

📖Title : The Tangled Lands ✍️Author : Paolo Bacigalupi, Tobias S. Buckell ⭐️Rating : 3.63/5 (Goodreads) 📆Published : Feb 27, 2018 ———————————————— Summary:The Tangled Lands by Paolo Bacigalupi and Tobias S. Buckell is a dark fantasy set in the decaying empire of Khaim, where every use of magic causes deadly bramble to grow, choking the land and threatening human survival. The empire, ruled by the oppressive Jolly Mayor, hoards magic for the elite while commoners suffer. The book comprises four interlinked novellas, each exploring resistance, environmental ruin, and personal sacrifice. Through the eyes of different characters—an alchemist, a thief, a child, and a warrior—we see a world caught between corruption and hope, where the cost of magic is far greater than its power. ———————————————— #fantasy#fiction#sciencefiction#magic#adult@Bookslibraryofficial@free_novellas@the_ancient_library

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