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

Резултати

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

Пребарај: #margintrading

当前筛选 #margintrading清除筛选
SLEX NEWS

@slex_io · Post #76 · 11.08.2023 г., 12:30

🔥 Amplify Trading Potential with Margin Trading! 💹 SLEX is going to implement margin trading - your gateway to exploring tokenized assets with leverage! 📈 Trade with borrowed funds and take advantage of market movements and maximize your trading potential with our flexible margin options on SLEX platform!🚀 🌐 Join SLEX today and get $20 Welcome bonus till the official launch at 17th of August!💰 #SLEX#MarginTrading#TradingPotential#CryptoExchange Email | Telegram | Reddit | Facebook | Instagram | Medium | Linkedin | Twitter

Crypto M - Crypto News

@CryptoM · Post #64552 · 09.04.2026 г., 07:31

🚀 Binance to Introduce USDS Across Multiple Services According to the announcement from Binance, the platform is set to integrate USDS (USDS) into several of its services, including Binance Simple Earn, "Buy Crypto," Binance Convert, Binance Margin, and VIP Loan. The rollout is scheduled to commence on 2026-04-09 at 08:00 (UTC), when USDS Flexible Products and Locked Products will be available for subscription on Binance Simple Earn. In addition to the Simple Earn integration, users will have the option to purchase USDS using VISA, MasterCard, Google Pay, and Apple Pay, or trade it with their account balances on the "Buy Crypto" page. This feature will be accessible within one hour of USDS being listed on Binance Spot. Furthermore, Binance Convert will allow users to trade USDS against BTC, USDT, and other tokens without incurring any fees, also within one hour of its listing. For those interested in margin trading, Binance Margin will introduce USDS as a new borrowable asset on both Cross and Isolated Margin. The trading pairs USDS/USDT, BTC/USDS, and ETH/USDS will be available on Cross Margin starting at 2026-04-09 08:00 (UTC). Similarly, these pairs will be accessible on Portfolio Margin at the same time. Additionally, USDS will be listed as a borrowable coin on VIP Loan shortly after its spot listing. Binance advises users to exercise caution, as newly listed tokens can exhibit significant volatility. It is recommended that traders implement robust risk management strategies. For the latest information on marginable assets, users are encouraged to consult the Margin Data section. This integration marks a significant expansion of USDS's availability across Binance's diverse range of financial services. #Binance#USDS#BinanceSimpleEarn#BuyCrypto#BinanceConvert#BinanceMargin#VIPLoan#CryptoTrading#MarginTrading#SpotListing#BTC#ETH#USDT#CrossMargin#IsolatedMargin#PortfolioMargin#VISA#MasterCard#GooglePay#ApplePay#RiskManagement#CryptoVolatility#FinancialServices#CryptoAssets