From a83627970596a999a681a4bf2f72e3108d04c74f Mon Sep 17 00:00:00 2001 From: Walker Waylon Scott Date: Tue, 22 Nov 2016 23:40:47 -0600 Subject: [PATCH] update readme --- .idea/workspace.xml | 36 +++++++++++++++++++++++------------- README.md | 17 +++++++++++++++++ 2 files changed, 40 insertions(+), 13 deletions(-) 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