Simple library for reading binary files.
Project description
binary-rw
Simple library for reading binary files. I wrote this library to help myself with working with binary files written with c#.
Examples
Write text to file.
>>> import binary_rw
>>> file = binary_rw.BinaryWriter("test")
>>> file.write_string("Example text")
>>> file.close()
Read byte from file.
>>> import binary_rw
>>> file = binary_rw.BinaryReader("test")
>>> file.read_byte()
>>> file.close()
Use BinaryReader with with
import binary_rw
with BinaryReader("test") as file:
#code
Installation
pip install binary-rw
License
MIT © Filip K.
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
binary-rw-1.0.5.tar.gz
(3.3 kB
view hashes)