You left python list off your reply. > On 29 Jul 2020, at 23:38, R Pasco <pascor22...@gmail.com> wrote: > > Hi, Barry, > > On Wed, Jul 29, 2020 at 5:12 PM Barry <ba...@barrys-emacs.org > <mailto:ba...@barrys-emacs.org>> wrote: > > > On 29 Jul 2020, at 19:50, R Pasco <pascor22...@gmail.com > > <mailto:pascor22...@gmail.com>> wrote: > > > > I'm running python 3.8 on Windows 8.1 x64. Running the following code > > produces no errors but does not add a key, name or value. I had no problems > > doing this using _wirreg under python 2.7. Any insight will be helpful. > > How do you check that the key is present? > > I'm using regedit.exe to try to view it. > > Are you aware that there is one registry for 32 bit code and a separate > registry for 64 bit code. > > Only vaguely. Are the "separate" registries really 64 and 32 views of the one > and only Registry ? That is, using Winreg ? > Some examples use "winreg.KEY_ALL_ACCESS | winreg.KEY_WOW64_32KEY" as the > access mode. Not sure what this does. > I am using python 64-bit, so what should the argument value "access=" be set > to in the call to "winreg.CreateKeyEx()" ?
Yes they are views. I cannot remember the details, but I suggest that you look up the details on microsoft's MSDN for the info you need. Searching for KEY_WOW64_32KEY takes you into thoses docs for example. Barrry -- https://mail.python.org/mailman/listinfo/python-list