Thanks! If not matched: <---- does it mean that "if the value of matched is not true, print Not found"? print "Not found" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/tutor/attachments/20121024/cd3dcecb/attachment.html>