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

Пребарај: #nms

当前筛选 #nms清除筛选
GitHub Trends

@githubtrending · Post #15171 · 27.09.2025 г., 11:30

#ruby#backup#network#nms#rancid Oxidized is a free tool that automatically backs up network device configurations from over 130 device types, replacing older tools like RANCID. It runs efficiently by adjusting how many tasks it uses based on your setup and offers a web API to manage backups and see changes. It can track who made changes using syslog and integrates with Git to show detailed version history. You can install it on many systems, configure it easily with YAML files, and use various sources and outputs for flexibility. This helps you keep your network device settings safe, organized, and easy to review or restore when needed. https://github.com/ytti/oxidized