Use getsizeof method to retrieve the size of an object in bytes. See below for an example:
str = "devx" print(sys.getsizeof(str))
Use getsizeof method to retrieve the size of an object in bytes. See below for an example:
str = "devx" print(sys.getsizeof(str))
Recent Articles:
One of the biggest trends of the 21st century is the massive surge in internet usage. With major innovations such
In today’s digital world, technology has changed how we make payments. From contactless cards to mobile wallets, it’s now easier