@producTICvidad · Post #172 · 24.10.2020 г., 01:20
The rise of the robots... is actually good news for us humans. 📕 Read the Future of Jobs reportby tapping the link in our bio #jobs#work#employment#future#JobsReset
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
Пребарај: #jobsreset
@producTICvidad · Post #172 · 24.10.2020 г., 01:20
The rise of the robots... is actually good news for us humans. 📕 Read the Future of Jobs reportby tapping the link in our bio #jobs#work#employment#future#JobsReset