Python: How to Create/Edit Windows Registries with Python 3.7

Just a short demo of how to go about creating/editing of Windows registry keys by using Python. This should be trivial, but as a matter of fact, not that many...

Just a short demo of how to go about creating/editing of Windows registry keys by using Python. This should be trivial, but as a matter of fact, not that many examples I could find online were working with Python 3.7. Below code should be pretty self-explanatory. Anyways, to put in in good use, let's disable Cortana Assistant in Windows 10. If you have any questions about the process, just text me below.

Source Code

Source: https://github.com/JozefJarosciak/PythonDisableCortana

How to run on Windows 10

- Backup your registries first

- Open Command Prompt as Administrator

- Execute: py PythonDisableCortana.py

Screenshots

Once the code is executed, you will no longer even see Cortana's button on the Windows taskbar.