struct.unpack null-terminated string

Xavier Defrang xavier at perceval.net
Fri Aug 3 06:01:09 EDT 2001


Hello,

How do I unpack a null-terminated string with the struct module?  I
couldn't find it in the lib reference... maybe do i have to upgrade my
glasses?

Thanks in advance,

Xavier Defrang
Perceval R&D Team
xavier at perceval.net

-------------------------------------------------
 Perceval Technologies SA/NV  Tel: +32-2-6409194
 Rue Tenbosch, 9              Fax: +32-2-6403154
 B-1000 Brussels         http://www.perceval.net
 BELGIUM                       info at perceval.net
-------------------------------------------------





More information about the Python-list mailing list