Skip to content

A Simple Program demo based on TKinter and PAGE (Python GUI Generator).

Notifications You must be signed in to change notification settings

tan90xx/tkinter_page_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo

基于TKinter和PAGE的小程序

此项目展示了一个使用TKinterPAGE开发的小程序,可供参考和学习。

文件说明:

  • README.md: 项目的说明文件。
  • img文件夹: 包含在UI中使用的图标和图片资源。
    • favicon.ico: 程序窗口的图标。
    • ICON1.png, ICON2.png: 在界面中使用的其他图标。
    • man.png: 程序中使用的图形资源。
  • laji.xlsx: 垃圾分类的Excel数据库,作为程序功能的一部分。
  • page0.tcl: 由PAGE生成的TCL脚本,用于描述UI布局。
  • page0.py: 由PAGE生成的Python文件,用于使用TKinter构建UI。
  • page0_support.py: 包含主程序使用的支持函数和逻辑。
  • main.py: 运行整个应用程序的主Python文件。

运行方法:

  1. 安装所需依赖:

    pip install tk
  2. 运行主程序:

    python main.py

欢迎您根据需要探索和修改相关文件。


TKinter and PAGE Small Program

This project demonstrates a small program developed using TKinter and PAGE. It can be used as a reference for similar projects.

Files Description:

  • README.md: This file, describing the project.
  • img folder: Contains icons and image resources used in the UI.
    • favicon.ico: Icon for the program window.
    • ICON1.png, ICON2.png: Additional icons used in the interface.
    • man.png: A graphical asset used in the program.
  • laji.xlsx: Excel database for waste classification, used as part of the program's functionality.
  • page0.tcl: TCL script generated by PAGE, which is used to describe the UI layout.
  • page0.py: Python file generated by PAGE for constructing the UI with TKinter.
  • page0_support.py: Contains support functions and logic used by the main program.
  • main.py: The main Python file that runs the entire application.

How to Run:

  1. Install the required dependencies:

    pip install -r requirements.txt
  2. Run the main program:

    python main.py

Feel free to explore and modify the files to suit your needs.

About

A Simple Program demo based on TKinter and PAGE (Python GUI Generator).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published