Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
if 语句的非怎样做?比如,r=image.find_template(template.......,当有匹配的模板时,if r进入。当没有匹配时,怎样进入if ?就是r为非时怎样进入if ?
if r: print('找到了') else: print('没找到')
或者
if not r: print('没找到')