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/
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor