TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #76 · 27 апр.

Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs

Резултати

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

Пребарај: #taxtransparency

当前筛选 #taxtransparency清除筛选
IRAS

@irassg · Post #1578 · 25.06.2025 г., 07:43

We are grateful to the participants for their strong commitment to enhancing tax transparency and combating cross-border tax evasion. IRAS remains dedicated to collaborating closely with industry partners to facilitate a smooth implementation process. #LifeatIRAS#internationaltax#taxtransparency

IRAS

@irassg · Post #1815 · 04.11.2025 г., 05:43

Ever wondered how Singapore stays at the forefront of global tax cooperation? Our active participation in international discussions is one way we do so 💪 Just a few weeks ago, Deputy Director Pang Cheng Jong and Senior Manager Kenneth Lim from the International Tax and Relations Division represented the #IRASFam at the 48th OECD Working Party 10 meeting, contributing to crucial discussions that shape the future of international tax transparency and compliance. Our team engaged with the OECD Business Advisory Group on the Amended Common Reporting Standard (CRS) and Crypto-Asset Reporting Framework (CARF), and worked with government delegates to develop interpretative guidance for both standards – work that will directly impact how these frameworks are implemented globally 🌍 Our active participation reflects Singapore’s longstanding commitment to international tax cooperation and reinforces our role as a trusted partner on the global stage 🤝 #LifeatIRAS#internationaltax#taxtransparency

IRAS

@irassg · Post #1570 · 24.06.2025 г., 07:07

💫 Proud to share that our #IRASFam represented Singapore at the 18th Automatic Exchange of Information (AEOI) Peer Review Group meeting, where Senior Assistant Director Ang Ming Kwan (International Tax and Relations Division – Exchange of Information Branch) participated as an International Peer Review Assessor alongside colleagues from the Global Forum Secretariat. Our team also engaged in productive discussions on maintaining consistency in peer review standards and made interventions to champion a level playing field for all jurisdictions. 🤝 Building meaningful connections with the Global Forum Secretariat members and fellow tax administrators has been invaluable. These partnerships drive our shared mission of advancing international tax transparency and compliance. #lifeatIRAS#taxtransparency#internationalrelations

IRAS

@irassg · Post #1402 · 24.02.2025 г., 07:59

Earlier this month, together with MOF, our colleagues from the International Tax and Relations Division represented #IRASFam at the 20th Working Group on ASEAN Forum on Taxation. This meeting provided a platform for ASEAN Member States to learn about key international tax issues, including tax transparency, Base Erosion and Profit Shifting (BEPS) and UN developments. During the forum, our team shared Singapore’s approach and progress in implementing the Crypto Asset Reporting Framework (CARF). Tax Director Gordon Cheong highlighted Singapore's enduring commitment to international tax transparency standards on Exchange of Information on Request, Common Reporting Standard and CARF. We are grateful for this valuable opportunity to strengthen relationships and foster knowledge sharing with our ASEAN counterparts, reinforcing our commitment to regional collaboration in tax administration. #LifeatIRAS#taxtransparency#ASEANcollaboration

IRAS

@irassg · Post #1869 · 26.11.2025 г., 02:10

Our team shared Singapore's journey in implementing the Amended Common Reporting Standard (CRS). Manager Nicole Kan highlighted both Singapore’s implementation progress in accordance with internationally agreed tax transparency standards and our philosophy that robust tax transparency standards are best achieved through genuine partnership with industry stakeholders. This collaborative approach has been instrumental in Singapore's successful CRS implementation. The ASEAN forum reinforced that regional cooperation is essential - through shared experiences in digitalisation, transparency, and tax certainty, ASEAN administrations can build stronger, more efficient systems that benefit businesses and citizens alike 💪 #LifeatIRAS#taxtransparency#ASEANcollaboration#internationaltax

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