I\'d like to write a short python script that puts my computer to sleep. I\'Ve already searched the API but the only result on suspend has to do with delayed execution. What
If you're using Windows, see: http://permalink.gmane.org/gmane.comp.python.windows/7382