Coder Social home page Coder Social logo

betterlife.python's Introduction

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

betterlife.python's People

Contributors

skygreen2001 avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.