pda 读取元素检测
Go to file
2026-01-21 13:26:53 +08:00
.claude feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
logs feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
src feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
ui feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
utils feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
AGENTS.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
CLAUDE.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
GEMINI.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
implementation_plan.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
README.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
requirements.txt feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
requirments.txt feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
run.py feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
task.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
walkthrough.md feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00
xml.sql feat: 实现初始应用程序结构,包含检查UI、会话管理、数据库和文件系统工具。 2026-01-21 13:26:53 +08:00

File System Browser

A Python application using PySide6 to browse and display files and folders from a specified directory (default: C://OEM).

Features

  • Display all files and folders in a table format
  • Shows file name, type, size, and last modified date
  • Folders are highlighted in blue
  • Refresh button to reload the directory
  • Handles permission errors gracefully

Project Structure

readFileSystem/
├── src/
│   ├── __init__.py
│   ├── main.py              # Main PySide6 application
│   └── file_system.py       # File system reading module
├── run.py                   # Entry point
├── requirements.txt         # Python dependencies
└── README.md               # This file

Installation

  1. Create a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

Run the application:

python run.py

Modifying the Target Directory

To browse a different directory, edit the target_path parameter in src/main.py:

window = FileSystemBrowser(target_path="C://Your/Path/Here")

Components

FileSystemReader (src/file_system.py)

  • Reads files and folders from a specified path
  • Provides file information (name, size, type, modified time)
  • Handles permission errors gracefully
  • Converts file sizes to human-readable format (B, KB, MB, GB)

FileSystemBrowser (src/main.py)

  • Main GUI window using PySide6
  • Displays files in a table widget
  • Shows file details: name, type, size, modified date
  • Refresh functionality to reload the directory

System Requirements

  • Python 3.8+
  • PySide6 6.7.1+

Notes

  • Folders are displayed in blue text for easy identification
  • Folders appear first in the list, sorted alphabetically
  • Files that cannot be read due to permissions are skipped
  • The application works on Windows, macOS, and Linux