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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nbtedit-1.0.tar.gz
(44.5 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
nbtedit-1.0-py3-none-any.whl
(32.9 kB
view details)
File details
Details for the file nbtedit-1.0.tar.gz.
File metadata
- Download URL: nbtedit-1.0.tar.gz
- Upload date:
- Size: 44.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d29b3b627eca41daa0589a304c2315ffdb0513d15956497aa8d61cefeed29b9
|
|
| MD5 |
ccefde74c0ab95e9375fde01189183fe
|
|
| BLAKE2b-256 |
50ea957d1783ebbe042806bb67840bae0af409d09b357c94571bb90b97c6d522
|
File details
Details for the file nbtedit-1.0-py3-none-any.whl.
File metadata
- Download URL: nbtedit-1.0-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 |
e4dbb27bf97f73814c1766d554374ef6700781ed63dbb4cee1bc71d6deaa72f3
|
|
| MD5 |
3ff93d8ce3584ad100bbaaa95dd9ed61
|
|
| BLAKE2b-256 |
cc911b79ff790a7ae00d2e67884873e164eb480a6f41dc4fcaf5264fcd044dfe
|