0

Toggling settings in Windows 10

I am creating a virtual assistant project. It is wholly based on Python. I've done some jobs like executing simple commands. But I was searching for how to toggle Windows settings like WiFi, Bluetooth, etc. using programming. Can it be done using Python or I have use something else for it?

29th Dec 2016, 6:31 PM
Naman Jain
Naman Jain - avatar
3 Answers
+ 2
Python allows you to access native APIs such as the C based Windows API. I'm not sure off hand if there is a package that wraps this API yet but if you take a look at the ctypes package in Python you'll see how you can do this.
29th Dec 2016, 7:24 PM
James Durand
James Durand - avatar
+ 1
It can be done but you may need to use some C bindings for the Windows API.
29th Dec 2016, 7:18 PM
James Durand
James Durand - avatar
0
can you explain it more please
29th Dec 2016, 7:22 PM
Naman Jain
Naman Jain - avatar