python - with open as,没有文件存在,会不会新建一个?
巴扎黑
巴扎黑 2017-04-17 16:56:53
0
1
867
巴扎黑
巴扎黑

reply all(1)
Ty80

If it is opened in reading mode, it will not be created; if it is opened in writing mode, it will be created. Whether using with as has nothing to do with this~

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template