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 слични објави

Пребарај: #sg57

当前筛选 #sg57清除筛选
MND Singapore

@mndsingapore · Post #369 · 09.08.2022 г., 03:54

Building our future takes each and everyone one of us coming together and forging through circumstances. Nothing can overcome us, as long as we stand #strongertogether! Happy National Day, from the MND family! 🇸🇬 #happybirthdaysingapore#sg57#happynationalday#thisishome#ndp2022