geting the time from a remote computer
Paul Rubin
http
Thu May 8 18:59:16 EDT 2003
"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.
More information about the Python-list
mailing list