首页
编程
java
php
前端
首页
编程
java
php
前端
file 为什么需要命名,代码是什么意思
意思这个file没有定义,不能使用。
with
open
(
"cangyouwei.txt"
,
"a"
)
as
file
:
确实是你file没有定义,你应该写成 with open() as file:
点击展开全文