pyhton的中as为什么会报无效语法,while open(fileame+title+'.jpg',mode='wb') as f:
^
SyntaxError: invalid syntax

pyhton的中as为什么会报无效语法,while open(fileame+title+'.jpg',mode='wb') as f:
^
SyntaxError: invalid syntax

open 前面是with 不是while
with open(xxxxxxxx) as f1: