测试系统的音量

时间:2019-05-04 16:26:33

标签: python python-3.x system os.system

如何检查系统(Windows 10)中的音量或用户是否在特定窗口中?我想要它,如下所示:

if SystemVolume == 100(%):
     print("Dont turn the volume that high!")

if SystemWindow == Notepad:
     print("What do you want to write?")

0 个答案:

没有答案
相关问题