@AboutRss · Post #548 · 26.04.2020 г., 14:20
#开源#QQ#Bot#插件 「基于 #酷Q 、#NoneBot 的RSS订阅插件」 https://myelf.club/index.php/archives/221/ 源码: https://github.com/Quan666/ELF_RSS
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #214 · 12 фев.
Как правильно проверить атрибуты доступа файла? То есть доступна ли запись в файл или является ли он исполняемым? Для этого в Python есть функция os.access() Проверять так: os.access(path, flag) Функция вернёт bool в зависимости от наличия указанного флага. Всего есть 4 флага проверки: os.F_OK - наличие файла на диске os.R_OK - доступ на чтение os.W_OK - доступ на запись os.X_OK - доступ на исполнение Например, вместо try-except лучше делать так (пример из документации): if os.access("myfile", os.R_OK): with open("myfile") as fp: return fp.read() #basic#libs
Пребарај: #nonebot
@AboutRss · Post #548 · 26.04.2020 г., 14:20
#开源#QQ#Bot#插件 「基于 #酷Q 、#NoneBot 的RSS订阅插件」 https://myelf.club/index.php/archives/221/ 源码: https://github.com/Quan666/ELF_RSS
@githubtrending · Post #15503 · 19.02.2026 г., 11:30
#go#coolq#cqhttp#cqhttp_mirai#go#go_cqhttp#golang#group_manager#mirai#mirai_bot#nonebot#onebot#onebot_plugin#onebot_sdk#plugin#qq#qq_bot#qqbot#qqrobot#websocket#zerobot ZeroBot-Plugin is a comprehensive utility plugin collection for the ZeroBot chatbot framework, offering over 100 features across entertainment, management, and productivity categories. The system provides high-priority functions like chat management, sleep tracking, and group administration, alongside mid-tier features such as image generation, music streaming, and game simulations. Users benefit from flexible plugin control—enabling or disabling specific features per group—and dynamic loading capabilities that reduce program size. The platform supports multiple deployment methods, from pre-compiled releases to local compilation, making it accessible whether you prefer ready-to-use binaries or customized builds. With extensive command options, scheduled task triggers, and AI integration, ZeroBot-Plugin transforms group chat management into an automated, entertaining experience while maintaining user control over which features activate in specific communities. https://github.com/FloatTech/ZeroBot-Plugin