Alright, I give up...chalk this one up to experience...
Kiss, Arpad
AKiss at GEOMETRIA.hu
Tue Nov 16 07:57:10 EST 1999
Hi,
Maybe date is waiting for your new date setting, but why don't you use
time instead of it:
import time
print time.ctime(time.time())
print time.localtime(time.time())
Arpad Kiss
Endgamer <endgamer71 at hotmail.com> wrote in message
news:<383145c0.4445469 at 212.225.36.99>...
> Alright, I finally give up. I've been bashing at this bloody idea all
> week...maybe I'm incredibly stupid (probably), but I can't see why,
> when I run this as a script from Windows 95, it doesn't return the
> current date setting on my machine. Could somebody put me out of my
> misery? I promise I'll stop bothering you <g>.
>
> -------------------------------------------------------
>
> # Date setting program (chunk 1)
> import os
>
> olddate=os.popen("date",'r')
>
> olddate=readdate
>
> print olddate
>
> -------------------------------------------------------
>
>
> Endgamer
> Spider Warrior
More information about the Python-list
mailing list