'How to open Control Panel in python using win32 extension

I am interested in being able to open the control panel through python using the win32 extension.

What I really want to be able to do is open the 'Internet Properties' panel (Control Panel > Network and Internet > Internet Options), but I'd figured getting the control panel open would be a good enough start.

For those using Chrome, if you go to Menu > Settings > Show Advanced Settings > Change proxy settings... , the Windows 'Internet Properties' box shows us.



Solution 1:[1]

import os
from tkinter import *

def open():
     os.system('cmd /c control') # thi is what will help you

root =Tk()
root.geometry('400x400')
b = Button(root, text='open control panel', command = (open)).place(x=200, y=200) # you can choose your own position 

root.mainloop()

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1