title: Prevent sleep mode python (Wakelock on python)
body: <p>How I can prevent sleep-mode on python without using extra apps on different OS(Ubuntu, Windows...) but in most cases I need Linux solution</p>
  
  <p>I am making app that works big amount of time. It uses like 80% of CPU, so a user just start this app and go away from keyboard. So I think I need something like system api or library that lock sleep-mode. I am sure that, it exists. For example, if you open any video player on your OS, your (PC, Laptop) will not go to sleep mode, the same thing in browser.</p>
  
  <p>Also, there is the same thing in Android (<a href="https://developer.android.com/training/scheduling/wakelock" rel="noreferrer">WakeLock</a>) or Windows <a href="https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate" rel="noreferrer">(SetThreadExecutionState)</a></p>