Skip to content

Instantly share code, notes, and snippets.

@kamawanu
Created November 23, 2011 07:47
Show Gist options
  • Save kamawanu/1388133 to your computer and use it in GitHub Desktop.
Save kamawanu/1388133 to your computer and use it in GitHub Desktop.
DEBUGMODE = ( time.time() - timeo.st_mtime ) < 60
import sys,os, time
timeo = os.stat(sys.argv[0])
DEBUGMODE = ( time.time() - timeo.st_mtime ) < 60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment