check sub-string in the string

if "blah" not in somestring: 
    continue

 

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