Generating a string of NULL bytes

Thomas Gagne tgagne at ix.netcom.com
Tue Aug 8 22:19:29 EDT 2000


I need to generate a string with 42 zeros--and I'm not talking about the ASCII
value for 0 either (x30), I'm talking about the REAL thing, (0x00).  I guess
I'm expecting there's probably a string function that takes some formatting
character (like struct.pack) and returns the string?




More information about the Python-list mailing list