If you want the size of the string in bytes, you can use the getsizeof() method from the sys module. example. from sys import getsizeof ...
確定! 回上一頁