diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4a5a58d..c1f6597 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -40,17 +40,17 @@ - + - - + + - + @@ -85,8 +85,8 @@ @@ -129,6 +129,16 @@ - - - - - - - - @@ -397,5 +399,13 @@ + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index be666da..2b33551 100644 --- a/README.md +++ b/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() + ``` \ No newline at end of file