update readme
This commit is contained in:
parent
35491679b8
commit
a836279705
2 changed files with 40 additions and 13 deletions
17
README.md
17
README.md
|
|
@ -7,4 +7,21 @@ Installation from cmd line
|
|||
git clone https://github.com/WaylonWalker/stodle.git
|
||||
cd ./stodle
|
||||
python setup.py install
|
||||
```
|
||||
|
||||
Usage
|
||||
|
||||
```
|
||||
from stodle import stop_idle()
|
||||
import time
|
||||
|
||||
def really_long_function()
|
||||
"""
|
||||
needs to run without windows going into screensaver
|
||||
"""
|
||||
|
||||
for i in range(1000
|
||||
time.sleep(100)
|
||||
stop_idle()
|
||||
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue