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

Резултати

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

Пребарај: #carf

当前筛选 #carf清除筛选
IRAS

@irassg · Post #1579 · 27.06.2025 г., 07:45

The #IRASFam hosted the inaugural Workshop on the Global Forum's Crypto-Asset Reporting Framework (CARF) commitment and implementation of the requirements. This landmark event, bringing together participants from across the world - Asia-Pacific, Africa, Middle East & Central Asia, Europe, and the Americas - was jointly organised by IRAS and the Global Forum Secretariat. Over two engaging days, participants learned about CARF requirements and worked together in cross-jurisdictional teams to develop practical implementation plans through interactive sessions led by expert facilitators from the Global Forum Secretariat. The enthusiasm and dedication demonstrated by all participants were truly inspiring! We extend our heartfelt thanks to all our international colleagues for their active participation and hope they enjoyed their experience in Singapore. Looking forward to more opportunities for continued peer learning and collaboration! 🤝 #LifeatIRAS#CARF#InternationalCollaboration#OECD

以太坊区块链新闻| ETH 以太币圈热瓜

@ethereumglobalnews · Post #1697 · 02.01.2026 г., 08:58

🏛️📊加密稅務進入全球同步監管階段 📑 依據 OECD「Crypto-Asset Reporting Framework(CARF)」,48 個司法管轄區 已啟動首輪加密資產稅務資料蒐集,為 2027 年正式跨國自動交換做準備。 ——— 全文+ 分析 👇 🌍 首批涵蓋國家包含: 歐盟多國、英國、日本、韓國、巴西、南非等主要經濟體。 ⏱ 第二波國家(如 新加坡、瑞士、香港、阿聯酋、加拿大)預計 2028 年 納入完整交換機制。 ⚠️ 影響重點: • CEX / 託管商將回報用戶錢包與交易資料 • DeFi 與自託管錢包監管壓力持續上升 • 跨境逃稅空間被大幅壓縮 ⚡️ Insight CARF 標誌著「加密資產 = 全球金融資產」的監管定錨完成。對 ETH 生態而言,合規化 ≠ 利空,而是機構資金長期入場的必要前提。 #Ethereum#Updates #CARF#Regulation#Tax ⚡️ 問題来了,留言告诉我 👇 你最看好哪個國家的貨幣發展?

IRAS

@irassg · Post #1253 · 29.11.2024 г., 09:10

🎤 Assistant Commissioner Angela Ang contributed as a panellist, sharing our insights on the Common Reporting Standard. She wore two hats – one as an AEOI Peer Review Group member and another as an Assessed Jurisdiction. 🤝 Tax Director Gordon Cheong chimed in too, emphasising how we had teamed up with industry partners to implement CRS. He highlighted that we will continue to closely engage and partner with the industry as we implement the amended CRS and CARF in the coming years. Read our announcement here and discover more about the Global Forum plenary meeting here. #GlobalForum#AEOI#AutomaticExchangeOfInformation#CARF#TaxTransparency#GFplenary2024