Am 09.10.2012 16:02, schrieb loial:
I am trying to match a string that containing the "<" and ">"
characters, using the string contains function, but it never seems to
find the lines containing the string

e.g if mystring.contains("<TAG>") :

I can't locate a 'contains' function anywhere, what type is 'mystring'?


Do I need to escape the characters...and if so how?

Maybe. Please provide some example code that unexpectedly fails.


Uli
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to