Browse Source

Path

pull/9/head
Jure Šorn 6 years ago
parent
commit
4ef2d28412
1 changed files with 5 additions and 5 deletions
  1. 10
      README.md

10
README.md

@ -678,11 +678,11 @@ def write_to_file(filename, text):
### Path ### Path
```python ```python
import os from os import path, listdir
<bool> = os.path.exists(<path>) <bool> = path.exists(<path>)
<bool> = os.path.isfile(<path>) <bool> = path.isfile(<path>)
<bool> = os.path.isdir(<path>) <bool> = path.isdir(<path>)
<list> = os.listdir(<path>) <list> = listdir(<path>)
``` ```
```python ```python

|||||||
100:0
Loading…
Cancel
Save