Caffeinate pid with os.getpid()

前端 未结 0 495
夕颜
夕颜 2021-01-18 13:06

I\'m a beginner and I want my macOS don\'t sleep until the current python process has terminated. This is my code with python, I used caffeinate

import os
imp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题