string / split method on ASCII code?

Michael Wieher michael.wieher at gmail.com
Wed Mar 12 21:29:35 CET 2008


Hey all,

I have these annoying textilfes that are delimited by the ASCII char for <<
(only its a single character) and >> (again a single character)

Their codes are 174 and 175, respectively.

My datafiles are in the moronic form

X<<Y>>Z

I need to split on those freaking characters.  Any tips on how to make split
work with these things?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080312/709053d5/attachment.html>


More information about the Python-list mailing list