Browse Source

System

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

10
README.md

@ -550,16 +550,16 @@ def write_to_file(filename, text):
### Path ### Path
```python ```python
import os import os
os.path.exists(<path>)
os.path.isfile(<path>)
os.path.isdir(<path>)
os.listdir(<path>)
<bool> = os.path.exists(<path>)
<bool> = os.path.isfile(<path>)
<bool> = os.path.isdir(<path>)
<list> = os.listdir(<path>)
``` ```
### Execute Command ### Execute Command
```python ```python
import os import os
os.popen(<command>).read()
<str> = os.popen(<command>).read()
``` ```
#### Or: #### Or:

Loading…
Cancel
Save