check sub-string in the string

if "blah" not in somestring: 
    continue

 

posted @ 2016-12-24 15:02  清源居士  阅读(168)  评论(0)    收藏  举报