setting time?
Oleg Broytmann
phd at phd.russ.ru
Mon Jan 3 10:55:38 EST 2000
On Mon, 3 Jan 2000 moonseeker at my-deja.com wrote:
> > > Noone an advice to set the system time?
> >
> > It is TOOOO system-dependent...
>
> Tell me for your favorite system:
> Win, AIX, Solaris, IRIX, OS/2
I cannot say for Win or OS2...
On all unicies your program MUST run under superuser priviledges (under
root account or be setuid root) - and even there all you can do is actually
import os
os.system("/bin/date '%s'" % date_time_string)
But Python is good to calculate date_time_string :)
Oleg.
----
Oleg Broytmann Foundation for Effective Policies phd at phd.russ.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list