@ITmastersuz · Post #11623 · 11.09.2024 г., 17:36
iPhone chiqqandagi BTC narxlari (2011-2024)🔥 👉Bizning barcha loyihalar | #btcprice
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #402 · 22 дек.
Отдельно разберём TaskGroup, который пришел на замену gather в Python 3.11. Ключевые отличия ▫️create_task() возвращает объект asyncio.Task, у которого есть соответствюущие методы управления. То есть у нас больше контроля ▫️это контекстный менеджер, который гарантирует что все таски будут остановлены по выходу из контекста ▫️ошибка автоматически отменяет незавершенные задачи, ▫️except* передает нам ExceptionGroup, в котором каждую ошибку можно обработать отдельно import asyncio import random async def do_it() -> str: if random.random() < 0.1: raise ValueError('Oops') delay = random.uniform(0.5, 1.5) await asyncio.sleep(delay) return delay async def main(): try: async with asyncio.TaskGroup() as tg: for _ in range(10): tasks.append(tg.create_task(do_it())) for t in tasks: print(t.result()) except *ValueError as e: for err in e.exceptions: print(err) asyncio.run(main()) Рекомендую изучить страницу Coroutines and Tasks из документации, где представлено больше интересных примеров и механизмов - таймауты - отмена задач - создание задач из другого потока #async
Hashtags
Пребарај: #btcprice
@ITmastersuz · Post #11623 · 11.09.2024 г., 17:36
iPhone chiqqandagi BTC narxlari (2011-2024)🔥 👉Bizning barcha loyihalar | #btcprice
Hashtags
@CryptoM · Post #65312 · 12.04.2026 г., 22:01
🚀 Bitcoin(BTC) Drops Below 71,000 USDT with a 3.39% Decrease in 24 Hours On Apr 12, 2026, 22:01 PM(UTC). According to Binance Market Data, Bitcoin has dropped below 71,000 USDT and is now trading at 70,895.140625 USDT, with a narrowed 3.39% decrease in 24 hours. #Bitcoin#BTC#Cryptocurrency#CryptoMarket#Binance#BTCPrice#CryptoNews
@CryptoM · Post #64987 · 10.04.2026 г., 12:57
🚀 Major BTC Long Position Liquidated on Hyperliquid Platform In the last 10 minutes, a significant BTC long position was liquidated on Hyperliquid, according to ChainCatcher. The position, held by the entity identified as 0x1e9, was closed at a price of $71,463, resulting in a substantial sell order. The position was initially opened today at 6 a.m. UTC+8, when BTC was trading above $72,000. It involved 247 BTC, equivalent to approximately $17.65 million. As the price declined, the holder opted for a rapid stop-loss exit, incurring a loss of about $180,000. #BTC#longposition#liquidation#Hyperliquid#ChainCatcher#cryptocurrency#BTCprice#stoploss#cryptotrading#loss