Skip to content

Commit 03ce3f1

Browse files
committed
Pathlib
1 parent f1d3549 commit 03ce3f1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,11 +1135,14 @@ cwd = Path()
11351135
<bool> = <Path>.is_file()
11361136
<bool> = <Path>.is_dir()
11371137
<iter> = <Path>.iterdir()
1138+
```
1139+
1140+
```python
11381141
<iter> = <Path>.glob('<pattern>')
11391142
```
11401143

11411144
```python
1142-
<str> = str(<Path>) # Returns path as string.
1145+
<str> = str(<Path>) # Returns path as a string.
11431146
<tup.> = <Path>.parts # Returns all components as strings.
11441147
<Path> = <Path>.resolve() # Returns absolute path without symlinks.
11451148
```

0 commit comments

Comments
 (0)