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.2.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.2-py3-none-any.whl
(32.9 kB
view details)
File details
Details for the file nbtexplorer-1.2.tar.gz.
File metadata
- Download URL: nbtexplorer-1.2.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 |
02940212fad7bd78a9c482d5537c98064f777107462c084250ef99afabdc49cc
|
|
| MD5 |
65a265b5db9a60ec1d8a20f9e04096e5
|
|
| BLAKE2b-256 |
40de58fdc2d9dd1e1f76c5e8975da9987f8d0e86562098e043cde15b093a5335
|
File details
Details for the file nbtexplorer-1.2-py3-none-any.whl.
File metadata
- Download URL: nbtexplorer-1.2-py3-none-any.whl
- Upload date:
- Size: 32.9 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 |
044a7d52b6b9d77b6ebf8730c476608490ccc7875e221df4c7cb8c576eeb23df
|
|
| MD5 |
0167cb28dbe1e42388bd19eabea763e2
|
|
| BLAKE2b-256 |
5cef96bdf7ea8ac83cd9c1f5a3842d14bd9dc2c14cb8808c6ce3df69dcc19629
|