may be try to open a connection to 4.2.2.2 at port 53 ?
-vks
On Wed, Jul 16, 2008 at 12:13 AM, norseman <[EMAIL PROTECTED]> wrote:
>
> Grant Edwards wrote:
>
>> On 2008-07-15, Alexnb <[EMAIL PROTECTED]> wrote:
>>
>> What exactly do you think will work? I am not sure what you
>>> think I should
On 2008-07-15, norseman <[EMAIL PROTECTED]> wrote:
> Process:
> copy/paste into afile
> slide lines left to create proper indent values
> save
> python afile
>
> I get same as Grant
>
>
> If one does a copy/paste into interactive Python, it does fail.
> (Lots of indent error messages. After all,
Grant Edwards wrote:
On 2008-07-15, Alexnb <[EMAIL PROTECTED]> wrote:
What exactly do you think will work? I am not sure what you
think I should do? If I use urlopen("http://www.google.com";)
and I am not connected, I am not going to get an exception,
the program will fail.
Bullshit. You ge
On 2008-07-15, Alexnb <[EMAIL PROTECTED]> wrote:
> What exactly do you think will work? I am not sure what you
> think I should do? If I use urlopen("http://www.google.com";)
> and I am not connected, I am not going to get an exception,
> the program will fail.
Bullshit. You get an exception. H
Alex Marandon-3 wrote:
>
> Alexnb wrote:
>> I am wondering, is there a simple way to test for Internet connection? If
>> not, what is the hard way :p
>
> Trying to fetch the homepage from a few major websites (Yahoo, Google,
> etc.)? If all of them are failing, it's very likely that the conne
Troeger Thomas (Ext) wrote:
>
> Alex Marandon wrote:
>> Alexnb wrote:
>>> I am wondering, is there a simple way to test for Internet connection?
>>> If
>>> not, what is the hard way :p
>>
>> Trying to fetch the homepage from a few major websites (Yahoo, Google,
>> etc.)? If all of them are fa
>> If you can define exactly what you mean by "internet connection", the
>> test for it becomes correspondingly easier.
> Well, really I just need to figure out if I am able to connect
> to one site. That site is dictionary.com.
Then use urllib2 to try to fetch a page from dictionary.com. If
it w
Ben Finney-2 wrote:
>
> Alexnb <[EMAIL PROTECTED]> writes:
>
>> I am wondering, is there a simple way to test for Internet
>> connection? If not, what is the hard way :p
>
> Refine the question: What do you mean by "internet"? It isn't a single
> entity.
>
> Do you mean "some particular inte
Alex Marandon <[EMAIL PROTECTED]> wrote:
> Alexnb wrote:
>> I am wondering, is there a simple way to test for Internet connection? If
>> not, what is the hard way :p
>
> Trying to fetch the homepage from a few major websites (Yahoo, Google,
> etc.)? If all of them are failing, it's very likely th
Alex Marandon wrote:
Alexnb wrote:
I am wondering, is there a simple way to test for Internet connection? If
not, what is the hard way :p
Trying to fetch the homepage from a few major websites (Yahoo, Google,
etc.)? If all of them are failing, it's very likely that the connection
is down. Yo
Alexnb <[EMAIL PROTECTED]> writes:
> I am wondering, is there a simple way to test for Internet
> connection? If not, what is the hard way :p
Refine the question: What do you mean by "internet"? It isn't a single
entity.
Do you mean "some particular internet host responding on a particular
netwo
Alexnb wrote:
I am wondering, is there a simple way to test for Internet connection? If
not, what is the hard way :p
Trying to fetch the homepage from a few major websites (Yahoo, Google,
etc.)? If all of them are failing, it's very likely that the connection
is down. You can use urllib2 [1]
12 matches
Mail list logo