Michael wrote: > Robert, > > Thanks to you and everyone else for the help. The "s.split('\x00', > 1)[0] " solved the problem.
And a probably faster version: s[:s.index('\x00')] George -- http://mail.python.org/mailman/listinfo/python-list
Michael wrote: > Robert, > > Thanks to you and everyone else for the help. The "s.split('\x00', > 1)[0] " solved the problem.
And a probably faster version: s[:s.index('\x00')] George -- http://mail.python.org/mailman/listinfo/python-list