Roy Smith wrote:
[snip]
Another trick when you're not 100% what you're looking at is to
explode the string like this:

>>>> [c for c in reg]
> ['\\', '[', '\\', '[', '(', '.', '*', ')', '\\', ']', '\\', ']', ';']
>
A shorter way is list(reg).
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to