This post is also available in: Deutsch (German)
If you want to find out the size of the data stored in a io.BytesIO
instance in Python, use
my_bytesio.getbuffer().nbytes
This post is also available in: Deutsch (German)
If you want to find out the size of the data stored in a io.BytesIO
instance in Python, use
my_bytesio.getbuffer().nbytes
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow