How to test if connected to the Internet

Arnold Weis aweis at gmx.de
Tue May 8 13:27:38 EDT 2001


Daniel <Daniel.Kinnaer at Advalvas.be> wrote:

>Is there some Python sample code available that performs a PPP-dial-in
>to an ISP (given that the username with password is available)?  How
>does one go about to do just that?

That depends heavily on the platform you are using.

On Windows you will probably use rasdial, on Unix some dialin-script, don't
aks me what the Mac provides for this...

Typically you will just do a system call from Python, that's it.

Regards

	Arnold




More information about the Python-list mailing list