[Tutor] adding a windows registry value

eryksun eryksun at gmail.com
Sat Aug 4 04:01:40 CEST 2012


On Fri, Aug 3, 2012 at 10:39 AM, Albert-Jan Roskam <fomcl at yahoo.com> wrote:
>
> import os
> # 1 using this from Python won't work, but double-clicking the file works.
> os.system(r"regedit /s C:\Users\Desktop\set_temp.reg")

Do you have a user named Desktop, or was this supposed to be
"C:\Users\USER_NAME\Desktop\set_temp.reg"?


More information about the Tutor mailing list