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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #422 · 30 мар.

Если запустить REPL с модулем asyncio, то вы входите в особый асинхронный REPL. user@host:~$ python -m asyncio asyncio REPL 3.12.7 ... Use "await" directly instead of "asyncio.run()". >>> import asyncio >>> В этом режиме - создаётся и настраивается event loop - уже импортирован asyncio - работает await на верхнем уровне То есть такая команда сработает без ошибок! await asyncio.sleep(3) Удобно для тестирования асинхронных функций без создания ивентлупов и остальной обвязки. Работает в: 3.8+ #tricks#async

Резултати

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

Пребарај: #stopthespread

当前筛选 #stopthespread清除筛选

Influenza spreads faster than you think, don’t let your guard down. A simple cough, a handshake, or even touching a surface can expose you to the flu virus. Stay one step ahead by protecting yourself and those around you. 🛑 Practice good hygiene 😷Cough and sneeze into your elbow 🧼 Clean touched surfaces frequently 🏠 Visit the nearest healthcare facility if you feel unwell Your actions can break the chain of transmission. Stay protected. #FluAwareness#Influenza#StopTheSpread#NCDCNigeria