Python Forum

Full Version: What can I do with _winreg ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I came across the module _winreg in 2.7.13 docs this morning.  I'm not very familiar with the windows registry.  How could this module be useful in Python development?

https://docs.python.org/2.7/library/_win...le-_winreg
note that _winreg in python3.x is winreg
It basically gives you an API to edit windows registry keys. Which is a global database of settings for windows and programs. Its vital in making system programs in Windows OS.
(Dec-26-2016, 02:50 PM)metulburr Wrote: [ -> ]note that _winreg in python3.x is winreg
It basically gives you an API to edit windows registry keys. Which is a global database of settings for windows and programs. Its vital in making system programs in Windows OS.

Also, you broke the registry, you broke the system. Be sure what you're doing  Shy