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

Пребарај: #iewd2024

当前筛选 #iewd2024清除筛选
NEA Singapore

@NEASingapore · Post #915 · 14.10.2024 г., 05:36

Give your e-waste a second life by recycling them this International E-waste Day 📱💻♻️ Find out more about how to recycle your e-waste at go.gov.sg/e-waste Let’s also reduce the amount of e-waste generated by: - Considering if you really need to buy new a product or if the current one can be repaired - Choosing second-hand products over new products - Donating devices that are in good condition to those who could put them to better use #RecycleRight#RecycleOurEWaste#IEWD2024#InternationalEWasteDay2024#DataSecurity