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

Резултати

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

Пребарај: #clients

当前筛选 #clients清除筛选
GitHub Trends

@githubtrending · Post #14935 · 09.07.2025 г., 13:30

#other#clients#mcp The Model Context Protocol (MCP) is an open standard that lets AI models easily and securely connect to different data sources and tools, making it much simpler for developers to build smart apps that can access files, databases, and APIs without custom code for each one[2][3][4]. There are many free and easy-to-use MCP clients—like desktop apps, web apps, and command-line tools—that let you quickly add new AI features and automate tasks, so you can get more done with less effort and technical hassle. This means you can use AI to help with coding, data analysis, and daily work, all while keeping your data safe and your setup flexible[2][3][4]. https://github.com/punkpeye/awesome-mcp-clients

djangoproject

@djangoproject · Post #327 · 30.04.2017 г., 01:28

https://www.tutorialspoint.com/python/python_networking.htm Python provides two levels of access to network services. At a low level, you can access the basic #socket support in the underlying operating system, which allows you to implement #clients and #servers for both connection-oriented and connectionless protocols.

Upwork Profile Mastery

@UpworkProfilePro · Post #568 · 19.02.2026 г., 09:52

Most freelancers fail before they even start… because they skip this one step! They rush into work without truly understanding the client’s needs. Knowing their goals helps you deliver exactly what they expect. Good communication builds trust and long-term relationships. 👉 What do you think? React if you agree. @UpworkProfilePro #Tipsoftheday#Clients#communication