Re: [Tutor] HTML page status

2006-09-12 Thread Kent Johnson
Johan Geldenhuys wrote: > I don't know if this will work in all cases. I tried it with a > internet connection and could get a 'OK' response. Then I tried it > withoput a internet connection and received a Traceback error, which is > not what I want. > > It gave me some idea what is possible.

Re: [Tutor] HTML page status

2006-09-12 Thread Johan Geldenhuys
I don't know if this will work in all cases. I tried it with a internet connection and could get a 'OK' response. Then I tried it withoput a internet connection and received a Traceback error, which is not what I want. It gave me some idea what is possible. Johan Michael P. Reilly wrote: On

Re: [Tutor] HTML page status

2006-09-12 Thread Michael P. Reilly
On 9/12/06, Johan Geldenhuys <[EMAIL PROTECTED]> wrote: Hi all,I looked a little bit at the urllib and it all looks fairly easy.What I didn't see, if it is there, was how to know or identify if a pagewas successfully downloaded. I want to do tests to see if a connection to a webpage was successful

Re: [Tutor] HTML page status

2006-09-12 Thread Luke Paireepinart
Johan Geldenhuys wrote: > Hi all, > > I looked a little bit at the urllib and it all looks fairly easy. > What I didn't see, if it is there, was how to know or identify if a page > was successfully downloaded. I want to do tests to see if a connection > to a webpage was successful by parsing what

[Tutor] HTML page status

2006-09-12 Thread Johan Geldenhuys
Hi all, I looked a little bit at the urllib and it all looks fairly easy. What I didn't see, if it is there, was how to know or identify if a page was successfully downloaded. I want to do tests to see if a connection to a webpage was successful by parsing whatever came back. Will this be the e

[Tutor] HTML page status

2006-09-12 Thread Johan Geldenhuys
Hi all, I looked a little bit at the urllib and it all looks fairly easy. What I didn't see, if it is there, was how to know or identify if a page was successfully downloaded. I want to do tests to see if a connection to a webpage was successful by parsing whatever came back. Will this be the