Giter VIP home page Giter VIP logo

iguardforpython's Introduction

防篡改Py版_V1.0
依赖模块
wheel
watchdog
如果没有安装请执行
[>]pip install wheel
[>]pip install watchdog


支持事件触发和时间轮训两种机制
具体配置详见Config.py
针对文件/文件夹所有的修改,增加,删除均会进行防篡改处理
针对修改的文件,新增的文件会做备份处理方便后期查看和调取


=========================================
2020-4-16
解决两个问题
1.删除不需要模块引用
  可以不用引用wheel模块了
2.window 终端打印中文乱码




iguardforpython's People

Contributors

caonima123456 avatar naozibuhao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iguardforpython's Issues

FileDev.py 有概率出现 文件没找到的报错

#文件 FileDev.py

迭代所有的文件夹(不包含文件名)

def iterationFolderF(self,filepath):
    floderList = []
    # 这里建议加个判断,实际上运行测试,批量新建文件或删除文件、目录时,有时出现新文件夹被删除时,但 os.listdir有一定概率会读取到此路径已经被删除了,程序会报错
    pathDir =  os.listdir(filepath)
    for allDir in pathDir:
        path = filepath+"/"+allDir
        if not self.isFile(path):
            floderList.append(path)
            self.iterationFolderF(path)
    return floderList

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.