title: Python: Waking MacOS Device
body: <p>There is a section in my Python code that requires the MacBook to be awake.
  Right before that section, I want include some code that can wake my MacBook up.
  Can this be done, or, is it impossible to wake a Mac device inside a Python script?</p>
  <pre><code>def wake_macbook_up():
      need code here
  
  
  def code_that_needs_macbook_to_be_awake():
      my current code
  
  
  wake_macbook_up()
  code_that_needs_macbook_to_be_awake()
  </code></pre>