I want to turn my computer's Bluetooth on/off using a python script. This is what I have found on the internet so far :
import os
os.system("rfkill block bluetooth")
But it doesn't seem to work as I have a windows computer. Does anyone know the os.system()
command to on/off Bluetooth? Thanks!