geting the time from a remote computer

kpop snag at jool.po
Fri May 9 02:21:24 EDT 2003


"Paul Rubin" <http://phr.cx@NOSPAM.invalid> wrote in message
news:7xvfwldozf.fsf at ruckus.brouhaha.com...
> "kpop" <snag at jool.po> writes:
> > The problem is how do i get the time froma a computer on the internet.
> > Perhaps theres a way in one of the modules for ftp, or one of the other
> > internet related ones .
> > Can anyone tell me a way to do this .
>
> There's an example of a simple SNTP client in the Python cookbook.
> I wrote a Linux clock-setting script around it:
>
>    http://www.nightsong.com/phr/python/setclock.py
>
> Maybe you can adapt that for Windows.

thanks thats just what i needed










More information about the Python-list mailing list