sys.getsizeof()
>>> help(sys.getsizeof)Help on built-in function getsizeof in module sys:getsizeof(...) getsizeof(object, default) -> int Return the size of object in bytes.说明:返回整数,单位是字节。
Powered by: 博客园 Copyright © 2024 开飞机的贝塔 Powered by .NET 9.0 on Kubernetes