Treat the Win32 Registry like a Python dict -- updated (again!)

Category: Python - Miscellaneous

This class wraps most of the win32api functions for accessing a registry. It will read and write all win32 registry types, and will de/serialize python objects to registry keys when a string or integer representation is not possible.

This is an update of recipe 551761, which is in turn an update of 174627, folding in the enhancements listed in the discussion there to allow registry value types to be read and written within the dictionary metaphore if required. It doesnt change how it worked before, it adds a new capability, and shouldnt break existing code using the 551761 version. Date: 16 January, 2012


Sysadmin

Homepage: http://code.activestate.com/recipes/573466-treat-the-win32-registry-like-a-python-dict-update/?in=lang-python

Developer: Chris Melville

License: Python License

Operating System: Windows

Add a Comment

all are required fields

     
What do you think of this resource?

Select Your Rate:

Votes:0

 

Related Scripts Download

Internet Billing Wizard 1.

developer Developer: http://tekmanproductions...
license License: Freeware
operating systems Operating System: Unix


Calculates IOPS for all disks in Linux/Unix system.

developer Developer: Slava Yanson
license License: Freeware
operating systems Operating System: Windows


RSH sometimes hangs if it cannot resolve to a given host.

developer Developer: Shrinidhi Rao
license License: Freeware
operating systems Operating System: Windows


System administrators sometimes need to automate commands which prompt for a password (or any other single prompt) before they execute.

developer Developer: John Landahl
license License: Python License
operating systems Operating System: Windows


Takes a stream of numbers and outputs simple ASCII graphs of those numbers.

developer Developer: Drew Gulino
license License: Freeware
operating systems Operating System: Windows


A Python script that runs arbitrary Python scripts in an input loop.

developer Developer: Drew Gulino
license License: Freeware
operating systems Operating System: Windows


LoggingWebMonitor listens for log records sent from other processes running in the same box or network.

developer Developer: Gabriel Genellina
license License: Freeware
operating systems Operating System: Windows


WxFileRenamer is a small GUI utility for renaming files in a directory with regular expressions, which allows the user to preview the changes before committing them to disk.

developer Developer: Jack Trainor
license License: Python License
operating systems Operating System: Windows


Simple decorator for CherryPy/TurboGears useful for publishing some data as a CSV file.

developer Developer: Shekhar Tiwatne
license License: Python License
operating systems Operating System: Windows