Created
August 8, 2020 15:02
-
-
Save ggarber/b6c7217f8edd24dbd4a96afbcb3d3bf3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import psutil | |
import requests | |
meeting = 'zoom.us' in (p.name() for p in psutil.process_iter()): | |
requests.post('http://192.168.1.75:5000/ggb/' + 'on' if meeting else 'off') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment