Mar 12, 2003 #1 yannb Technical User Mar 12, 2003 3 US I am new to python and I need a way to read a registry key and string and possibly modify that string. any way to do that with python? thanks yann
I am new to python and I need a way to read a registry key and string and possibly modify that string. any way to do that with python? thanks yann
Mar 13, 2003 #2 sebsauvage Programmer Oct 21, 2002 54 FR Sure ! You need the win32all module. You have the choice: - You can download it separetely and install it over Python (see http://starship.python.net/crew/mhammond/win32/ or http://www.python.org/windows/win32/)- or use a Pyhton distribution which already includes the win32all modules (like ActivePython http://www.activestate.com/Products/ActivePython/) Then use the reg* methods in the win32api module. (see enclosed documentation). If you need an example, see this: http://sebsauvage.net/python/kupdate101.py Upvote 0 Downvote
Sure ! You need the win32all module. You have the choice: - You can download it separetely and install it over Python (see http://starship.python.net/crew/mhammond/win32/ or http://www.python.org/windows/win32/)- or use a Pyhton distribution which already includes the win32all modules (like ActivePython http://www.activestate.com/Products/ActivePython/) Then use the reg* methods in the win32api module. (see enclosed documentation). If you need an example, see this: http://sebsauvage.net/python/kupdate101.py