[Tutor] adding a windows registry value
Alan Gauld
alan.gauld at btinternet.com
Fri Aug 3 18:49:38 CEST 2012
On 03/08/12 15:39, Albert-Jan Roskam wrote:
> ...Is there a built-in way to do this
> (I don't have win32api)?
Yes you do, because ctypes is part of the standard Python library.
And ctypes lets you access Win32api. See:
http://docs.python.org/library/ctypes.html#module-ctypes
for examples.
As to your problem, it sounds like a permissions thing, are you sure you
are running it as the same user in Python and from the DOS box?
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the Tutor
mailing list