with 省略文件的关闭 f.close
with open("wenjain") as fin:
with open("wenjian") as fou:
for data in fin:
fou.write(data)
with oprn("wenjian") as fin, open("wenjian2") as fou:
with 省略文件的关闭 f.close
with open("wenjain") as fin:
with open("wenjian") as fou:
for data in fin:
fou.write(data)
with oprn("wenjian") as fin, open("wenjian2") as fou:
with语句
with open(“”,“”)as fin,with open()as fout:
for data in fin:
fout.write(data)
自定义异常 raise AgeE rror
step into单步执行
step over不深入到函数内部单步执行
step out 跳出当前函数执行的地方
run to cursor直接跳到下一个断点
step into my code和step into遇到内置函数会跳过