NBT文件编辑器
Project description
使用
1.导入
import NBTExplorer
2.使用
1.创建
类初始化参数:
- path: str, 待解析文件路径, 如: "C:/Users/Administrator/Desktop/test.nbt",默认空窗口
- parent: tk.Tk(), 父窗口, 默认None, 即无父窗口(创建一个顶级窗口)
- wintitle: str, 窗口标题, 默认"PyNBTExplorer"
- app_name: str, 应用名称, 默认"PyNBTExplorer"(关于窗口等显示)
- icon: str, 窗口图标, 默认"./icon.png"
- about_text: str, 关于页内容, 不填默认
2.示例
import NBTExplorer
app = NBTExplorer.NBTExplorer(path="C:/Users/Administrator/Desktop/test.nbt", parent=None,wintitle="PyNBTExplorer", app_name="PyNBTExplorer", icon="./icon.png", about_text="PyNBTExplorer")
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nbtexplorer-1.1.tar.gz
(45.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nbtexplorer-1.1-py3-none-any.whl
(32.8 kB
view details)
File details
Details for the file nbtexplorer-1.1.tar.gz.
File metadata
- Download URL: nbtexplorer-1.1.tar.gz
- Upload date:
- Size: 45.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e01118b416a618caca90c629e5c424ace0696b17b1ab92a4e7c2589fad3a5d5c
|
|
| MD5 |
434acfd6e7dc0724520f23e52bd38757
|
|
| BLAKE2b-256 |
ea546be2975cb9aaa1bc81ba5c1ea9f820bac4cf67f8153bc9fe7c5b19169688
|
File details
Details for the file nbtexplorer-1.1-py3-none-any.whl.
File metadata
- Download URL: nbtexplorer-1.1-py3-none-any.whl
- Upload date:
- Size: 32.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
545ef2e0ee37e133651cbb713bcb4c095402921a4db1600abe605c934d93e772
|
|
| MD5 |
0eeddbfea8ff1a0e53f43a2113f58d97
|
|
| BLAKE2b-256 |
19749cca7ed085447d966c8f1ac2abc6dfb46f1d49315f5f066888cf4c9aedea
|