How do I converted a null (0) terminated string to a Python string?

Michael MichaelDMcDonnell at yahoo.com
Wed Sep 13 23:41:04 EDT 2006


Hi All,

I've received (via UDP) a null terminated string and need to convert it
into a Python string. Can anyone tell me how this is done? If it helps,
I know the number of characters in the string.

Thanks,
M. McDonnell




More information about the Python-list mailing list