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) Help would be appreciated. S