But `sys.getsizeof()` returns the size of Python's internal data structure, not the number of characters in the string, which is ultimately what matters. If you intend to send 1000 characters, a str with len 1000 will do.