Autosave: 2024-05-31 13:00:04
This commit is contained in:
parent
25b816aa20
commit
04e268f1bd
2 changed files with 2 additions and 3 deletions
BIN
.zk/notebook.db
BIN
.zk/notebook.db
Binary file not shown.
|
@ -131,8 +131,7 @@ file.close()
|
|||
|
||||
Obviously file access can raise errors - typically when the file you want to
|
||||
access does not exist (i.e. a `FileNotFoundError`
|
||||
[exception](Error_handling_in_Python.md)).
|
||||
We can manage this scenario with
|
||||
[exception](Error_handling_in_Python.md)). We can manage this scenario with
|
||||
[exception handlers](Error_handling_in_Python.md):
|
||||
|
||||
```py
|
||||
|
@ -184,7 +183,7 @@ file.close()
|
|||
|
||||
## Renaming and deleting files
|
||||
|
||||
We hace to use another built-in module to rename and delete files: `os`.
|
||||
We have to use another built-in module to rename and delete files: `os`.
|
||||
|
||||
To rename an existing file:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue