# betterlife.python **Repository Path**: skygreen2015/betterlife.python ## Basic Information - **Project Name**: betterlife.python - **Description**: python 开发脚手架及工具 - **Primary Language**: Python - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-30 - **Last Updated**: 2025-05-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # betterlife.python ========================================================= ## 快速搭建一个Web下载服务器 - python -m SimpleHTTPServer 8890 #(py2) 直接在命令行运行 - python3 -m http.server 8810 #(py3) 直接在命令行运行 ## 新手任务 - 路径: 根目录下 :hi.py ``` > python hi.py ``` ## 运维命令行工具 - 路径: cmd :PyBB.py ``` > python PyBB.py - (PyBB)> walk output2.txt - (PyBB)> find Tools ``` :bbtools.py ``` > python bbtools.py /Users/skygreen ``` (命令行中运行) ## 工具 ### 常用工具 - 常用 :common.py - 文本处理 :text.py - 数据库操作 :db_handle.py - 正则表达式 :regex.py - 文件处理 :file.py - 网络 :network.py - 命令行控制台 :console.py ### 办公类 - Excel :excel.py - Doc :doc.py - Pdf :pdf.py ### 应用类 - 剪切板 :clipboard.py - UI :ui.py ### 维护工具 - 路径: tools/maintain - 包括发送邮件功能 - 测试指定服务器是否正常运行,如无法访问返回502,会自动重启nginx并发邮件通知管理员 :maintain_work.py - 主要配合执行服务器上的定时任务 - 路径: timer :timer.py - 数据库备份 - 路径: db :db_mysql_timer_bak.py - 机器人 - 微信 : wxbot.py - 短信 : wxbot.py