[Tutor] string conversion

2011-02-28 Thread Robert Clement
Hi I have a wxpython control in which users are intended to enter control characters used to define binary string delimiters, eg. '\xBA\xBA' or '\t\r\n' . The string returned by the control is a unicode version of the string entered by the user, eg. u'\\xBA\\xBA' or u'\\t\\r\\n' . I wo

[Tutor] binary string parsing

2011-03-08 Thread Robert Clement
e the byte order was different than the default assumed for the buffer. Thanks Robert Clement -- 202 Crew Building West Mains Road Edinburgh UK, EH9 3JN phone +44 131 650 7732 The University of Edinburgh is a charitable body, registered in Scotland, with registra