How to use BytesIO (and StringIO, cStringIO) [For beginners]
Explains how to use BytesIO (and StringIO, cStringIO).
If you're not familiar with Python in the first place, read an article that explains what Python is and get a better understanding.
This article is based on the contents of the TechAcademy online boot camp Python course.
What is BytesIO
BytesIO is a function for handling binary data in memory. It is included in the Python standard library io.Binary data is mainly data such as images and sounds.All the data handled by the computer is binary data, but it is used in comparison with text data.
Similar functions such as StringIO, cStringIO…