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

Резултати

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

Пребарај: #bnpparibas

当前筛选 #bnpparibas清除筛选
Crypto M - Crypto News

@CryptoM · Post #65292 · 12.04.2026 г., 15:13

🚀 Amazon's AI Investment Could Boost Stock by Over 50%, Analyst Predicts BNP Paribas Exane analyst Nick Jones has set a price target of $320 for Amazon, suggesting a potential upside of more than 50% from its April 7 closing price of $213.77. According to NS3.AI, Jones believes that Amazon's planned $200 billion investment in artificial intelligence by the end of 2026 is justified by increasing demand, backlog growth, and the broader deployment of AI across Amazon's product offerings. #Amazon#AI#Stock#Investment#BNPParibas#PriceTarget#ArtificialIntelligence#NS3AI#MarketGrowth#AmazonStock

Crypto M - Crypto News

@CryptoM · Post #64558 · 09.04.2026 г., 07:57

🚀 BNP Paribas Appoints New Head for Equity Capital Markets in India BNP Paribas has reportedly appointed Abhishek Joshi to lead its equity capital markets division within the investment banking sector in India, according to sources. Bloomberg posted on X, highlighting the strategic move by the bank to strengthen its presence in the Indian market. Joshi's appointment is expected to bolster BNP Paribas's capabilities in managing equity capital market operations, as the bank aims to expand its influence in the region. This decision comes amid increasing competition in the investment banking industry, with global banks vying for a larger share of the Indian market. BNP Paribas's investment banking division has been focusing on enhancing its services and offerings to cater to the growing demands of clients in India. Joshi, with his extensive experience in the field, is anticipated to play a pivotal role in driving the bank's growth strategy forward. #BNPParibas#EquityCapitalMarkets#India#InvestmentBanking#AbhishekJoshi#StrategicMove#FinancialServices#GlobalBanks#MarketExpansion#BankingLeadership