Writing to Registry

Gabriel Genellina gagsl-py at yahoo.com.ar
Thu Nov 16 19:26:42 EST 2006


At Thursday 16/11/2006 20:48, Samantha wrote:

>I am working with this recipes:
>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66011
>
>The problem I am having is setting a hex value.
>This line ---   SetValueEx(aKey,"MyNewKey",0, REG_SZ,
>r"c:\winnt\explorer.exe")
>I want something Like --   SetValueEx(aKey,"MyNewSize",0, REG_SZ, 120 or
>some value)

Usually when you don't know how to use a certain function, you begin 
by reading the documentation for it:
http://docs.python.org/lib/module--winreg.html#l2h-5827


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list