Skip to content

Commit 221d87e

Browse files
committed
Path
1 parent 1a59ebe commit 221d87e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@ while True:
889889
**Opens file and returns a corresponding file object.**
890890

891891
```python
892-
<file> = open(<path>, mode='r', encoding=None)
892+
<file> = open('<path>', mode='r', encoding=None)
893893
```
894894

895895
#### Modes:
@@ -951,10 +951,10 @@ b'.\n..\nfile1.txt\nfile2.txt\n'
951951
### Path
952952
```python
953953
from os import path, listdir
954-
<bool> = path.exists(<path>)
955-
<bool> = path.isfile(<path>)
956-
<bool> = path.isdir(<path>)
957-
<list> = listdir(<path>)
954+
<bool> = path.exists('<path>')
955+
<bool> = path.isfile('<path>')
956+
<bool> = path.isdir('<path>')
957+
<list> = listdir('<path>')
958958
```
959959

960960
```python

0 commit comments

Comments
 (0)