Trouble with script fetching site

Peter Hansen peter at engcorp.com
Wed Sep 3 19:57:51 CEST 2003


"John J. Lee" wrote:
> 
> Peter Hansen <peter at engcorp.com> writes:
> 
> > Stephen Boulet wrote:
> > >
> > > I'm trying to parse a url to set my hardware & system clock (linux).
> >
> > I can't help with the problem at hand, but I also don't see the
> > reason to do it.  Why not just access an NTP server and grab the
> > time the "proper" way?  Using a web page is a roundabout way of
> > doing it.
> 
> Right.
> 
> > There's a nice setclock.py script which Google can
> > point you to which does the job much more easily.
> 
> On my system, the ntpdate command works nicely.  I run it my PPP
> scripts.

And once one knows it exists, one should probably prefer that 
method.  As I now do.  <grin>

-Peter




More information about the Python-list mailing list