twoolie / NBT

Python Parser/Writer for the NBT file format, and it's container the RegionFile.
MIT License
365 stars 74 forks source link

Add support for pathlib.Path #88

Open fenhl opened 8 years ago

fenhl commented 8 years ago

For convenience, it should be possible to create an NBTFile using nbt.nbt.NBTFile(path), where path is a pathlib.Path object.