|
@ -970,6 +970,7 @@ b'.\n..\nfile1.txt\nfile2.txt\n' |
|
|
|
|
|
|
|
|
Path |
|
|
Path |
|
|
---- |
|
|
---- |
|
|
|
|
|
### Basic |
|
|
```python |
|
|
```python |
|
|
from os import path, listdir |
|
|
from os import path, listdir |
|
|
<bool> = path.exists('<path>') |
|
|
<bool> = path.exists('<path>') |
|
@ -1018,6 +1019,7 @@ pwd = Path() |
|
|
|
|
|
|
|
|
Command Line Arguments |
|
|
Command Line Arguments |
|
|
---------------------- |
|
|
---------------------- |
|
|
|
|
|
### Basic |
|
|
```python |
|
|
```python |
|
|
import sys |
|
|
import sys |
|
|
script_name = sys.argv[0] |
|
|
script_name = sys.argv[0] |
|
|