W
W
weranda2018-10-17 18:36:56
Python
weranda, 2018-10-17 18:36:56

When does it become necessary to process binary data in Python?

In what cases/tasks does it really need to work with binary data? Please give examples.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kuts, 2018-10-17
@weranda

At a glance, the scope:
Communication with low-level devices that accept binary data. Checking/setting flags. Communication with specific hardware - billing systems (for example, the low-level URFA protocol), POS terminals with their own specific protocol, and so on.
Communication with Arduinio and external sensors, work with GPIO in Raspberry Pi.
Specific methods of working with images (in RAW - extracting data of overexposed and underexposed areas from additional bits of conversion results on 12-bit ADCs to 8-bit RGB spaces), operations with image channels, working with bit masks, cryptography, steganography, noise-correcting coding, recognition and creation of barcodes, packing and unpacking data, parsing pcap packets, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question