Skip to content

Commit 71b5692

Browse files
committed
添加环境不熟文件,完善0.1版文件说明
1 parent f541fc6 commit 71b5692

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

README.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,90 @@
11
# wx_explorer
22
基于wxpython的文件浏览器,为测试AI生成项目
3+
4+
# 多标签文件浏览器 v0.1
5+
6+
一个基于 wxPython 的多标签文件浏览器,提供类似 Windows 资源管理器的功能。
7+
8+
## 功能特点
9+
10+
- 多标签页浏览:支持同时打开多个目录标签页
11+
- 文件操作:
12+
- 复制/剪切/粘贴文件
13+
- 新建文件夹
14+
- 删除文件(移至回收站)
15+
- 导航功能:
16+
- 前进/后退/向上导航
17+
- 地址栏直接输入路径
18+
- 双击打开文件/文件夹
19+
- 实时监控:自动检测并显示当前目录的文件变化
20+
- 文件信息显示:
21+
- 文件名
22+
- 文件大小
23+
- 修改时间
24+
- 界面功能:
25+
- 可调整列宽
26+
- 状态栏显示文件统计信息
27+
- 右键菜单支持
28+
29+
## 操作说明
30+
31+
1. 基本操作
32+
- 新建标签页:点击标签栏上的 "+" 按钮
33+
- 关闭标签页:Ctrl+W 或菜单栏 "文件->关闭标签页"
34+
- 切换标签页:点击对应标签
35+
36+
2. 文件操作
37+
- 新建文件夹:Ctrl+N 或工具栏按钮
38+
- 复制:Ctrl+C
39+
- 粘贴:Ctrl+V
40+
- 删除:Delete 键(删除到回收站)
41+
42+
3. 导航操作
43+
- 后退:工具栏后退按钮
44+
- 前进:工具栏前进按钮
45+
- 上级目录:工具栏向上按钮
46+
- 直接导航:在地址栏输入路径并回车
47+
- 打开文件/文件夹:双击项目
48+
49+
## 运行环境要求
50+
51+
- Windows 11 x64 操作系统
52+
- Python 3.8+
53+
- wxPython 4.1+
54+
55+
## 安装步骤
56+
57+
1. 创建并激活 conda 环境:
58+
59+
60+
```bash
61+
conda create -n wx_explorer python=3.10 -y
62+
conda activate wx_explorer
63+
```
64+
65+
2. 安装依赖:
66+
67+
```bash
68+
pip install -r requirements.txt
69+
```
70+
71+
或使用 conda:
72+
73+
```bash
74+
conda env create -f environment.yml
75+
```
76+
77+
3. 运行程序:
78+
79+
```bash
80+
python wx_explorer.py
81+
```
82+
83+
84+
## 依赖说明
85+
86+
主要依赖库:
87+
- wxPython: GUI 框架
88+
- pywin32: Windows API 调用
89+
- send2trash: 回收站支持
90+
- watchdog: 文件系统监控

environment.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: wx_explorer
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- python=3.10
7+
- wxpython=4.1
8+
- pywin32
9+
- pip
10+
- pip:
11+
- send2trash==1.8.0
12+
- watchdog==2.1.9

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
wxPython>=4.1.0
2+
pywin32>=305
3+
send2trash>=1.8.0
4+
watchdog>=2.1.9

0 commit comments

Comments
 (0)