|
@ -1135,11 +1135,14 @@ cwd = Path() |
|
|
<bool> = <Path>.is_file() |
|
|
<bool> = <Path>.is_file() |
|
|
<bool> = <Path>.is_dir() |
|
|
<bool> = <Path>.is_dir() |
|
|
<iter> = <Path>.iterdir() |
|
|
<iter> = <Path>.iterdir() |
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
```python |
|
|
<iter> = <Path>.glob('<pattern>') |
|
|
<iter> = <Path>.glob('<pattern>') |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
```python |
|
|
```python |
|
|
<str> = str(<Path>) # Returns path as string. |
|
|
|
|
|
|
|
|
<str> = str(<Path>) # Returns path as a string. |
|
|
<tup.> = <Path>.parts # Returns all components as strings. |
|
|
<tup.> = <Path>.parts # Returns all components as strings. |
|
|
<Path> = <Path>.resolve() # Returns absolute path without symlinks. |
|
|
<Path> = <Path>.resolve() # Returns absolute path without symlinks. |
|
|
``` |
|
|
``` |
|
|