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

Резултати

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

Пребарај: #commerce

当前筛选 #commerce清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #4187 · 19.02.2025 г., 04:00

Crypto-Friendly Lutnick Confirmed as Commerce Secretary The US Senate has confirmed Howard Lutnick as Secretary of Commerce, known for his pro-crypto stance. In related news, State Street and Citi, two major banks, are both entering the cryptocurrency custody business, with State Street planning to launch services next year. State Street manages $46.6 trillion while Citi holds $25 trillion in custody assets. Read more here and further details on custody here. #Crypto#Commerce#Banking#Custody#HowardLutnick#StateStreet#Citi#Finance#Assets#Investment#DigitalAssets#BitCoin#CustodianServices#Blockchain#Senate#Regulation#USPolitics#Cryptocurrency#Innovation#CryptoNews

GitHub Trends

@githubtrending · Post #15100 · 29.08.2025 г., 11:30

#typescript#commerce#e_commerce#javascript#marketplace#marketplace_solution#medusa#medusajs#medusajs_v2#multi_vendor#multi_vendor_ecommerce#multivendor_ecommerce#nodejs#open_source#shopping_cart Mercur is a free, open-source platform that lets you build and run your own multi-vendor marketplace with full control over your data, infrastructure, and customizations. It combines the ease of SaaS with the freedom of open source, so you avoid transaction fees and vendor lock-in. Built on modern MedusaJS technology, Mercur supports both B2C and B2B marketplaces, offering customizable storefronts, admin and vendor panels, and integrations like Stripe for payments. This means you can create a unique, scalable marketplace tailored to your business needs without relying on costly or restrictive platforms. It requires some technical skill but gives you complete ownership and flexibility. https://github.com/mercurjs/mercur

Venture Village Wall 🦄

@venturevillagewall · Post #4186 · 19.02.2025 г., 01:00

Howard Lutnick Named Secretary of Commerce Pro-Bitcoin advocate Howard Lutnick confirmed as U.S. Secretary of Commerce. By Q4 2024, 1,576 firms invested in U.S. spot Bitcoin ETFs, totaling $26.8bn AUM (+113%). Institutional investments rose to 25.4% of AUM, up from 21.3% in Q3, propelled by high IBIT activity. More details here: watcher Guru #Bitcoin#ETF#Finance#Investing#HowardLutnick#Commerce#InstitutionalInvesting#IBIT#Crypto#AUM#USA#ProBitcoin#MarketTrends#InvestorInterest#Q42024#WallStreet#CryptoNews#Regulations#DigitalAssets#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3435 · 19.12.2024 г., 06:42

E-commerce Conversion Crisis E-commerce stores face a critical issue: they struggle to convert social media traffic into purchases, with conversion rates half as effective as average standards. Social media is a key source for online sales, with 64% of internet users shopping through these platforms, accounting for one-third of total online sales. The significant loss from unconverted traffic prompts stores to seek solutions, making platforms that improve conversion rates highly valuable. Learn more about a startup addressing this issue: Read here #Ecommerce#SocialMedia#Conversion#OnlineSales#Startup#Traffic#Retail#DigitalMarketing#Commerce#Business#Tech#Innovation#Sales#Marketing#UserExperience#Platforms#Shopping