Thank you. It works :-)
P
Rob Williscroft wrote:
> Ok I see, you will probably need these 2 bits of the ctypes
> documentation:
>
> http://docs.python.org/lib/ctypes-structures-unions.html
> http://docs.python.org/lib/ctypes-pointers.html
>
> From there on geting to this is farly straight fo
Podi wrote in news:[EMAIL PROTECTED] in
comp.lang.python:
> Rob Williscroft wrote:
>>
>> Google will usually find the documentation of anything in the
>> Windows API however sometimes it also helps to add "msdn" to
>> your search as in:
> Yes, thank you.
>
> I found the function SetLocalTime or
Yes, thank you.
I found the function SetLocalTime or SetSystemTime to set the time from
MSDN http://msdn2.microsoft.com/en-us/library/ms724942.aspx. I am
having trouble passing parameter to the functions in Python.
Rob Williscroft wrote:
>
> Google will usually find the documentation of anything
Podi wrote in news:[EMAIL PROTECTED]
in comp.lang.python:
> I am trying to set the system time on my Windows computer, but avoid
> using the DOS command (date, time).
>
> Does anyone know what parameter to pass to function SetLocalTime?
http://msdn.microsoft.com/library/default.asp?url=/library