Code Monkey home page Code Monkey logo

filename_error_check's Introduction

CheckError使用说明

使用的库

用于遍历文件夹,得到文件属性的库

datetime os pathlib filedialog

用于构建GUI界面并将文件属性写入界面的库

Thread queue tkinter ttkbootstrap

用于判断文件名是否合法的库

re openpyxl

运行方式

请点击名为CheckError的exe文件,跳出选框,分别在文本框输入内容后进行点选,可在树形图中得到文件列表 下方的格式检查按钮,选择文件夹后,根据正则表达式对文件名进行判断,并生成excel文件。

需要注意

  1. ttkbootstrap 自带的树形图现行只能在传入固定数据时建立鼠标点击事件。 想要识别导入需要换库。
  2. 由于语法不一致,本程序同时使用了tkinter ttkbootstrap库,尚不清楚是否会冲突
  3. 此外由于链接excel使用的是openpyxl,暂时无法批量将文件路径在列表中生成超链接,还需用户手动在excel中添加函数
  4. 打开程序时请注意是否已经点开excel文件,否则将无法正常写入,并报错文件损坏

filename_error_check's People

Contributors

shellyxiang225 avatar

Watchers

 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.