Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #62103

Re: Question RE urllib

From John Gordon <gordon@panix.com>
Newsgroups comp.lang.python
Subject Re: Question RE urllib
Date 2013-12-16 20:58 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <l8npgp$1go$1@reader1.panix.com> (permalink)
References <mailman.4234.1387223734.18130.python-list@python.org>

Show all headers | View raw


In <mailman.4234.1387223734.18130.python-list@python.org> Jeff James <jeff@jeffljames.com> writes:

> --f46d04479f936227ee04edac31bd
> Content-Type: text/plain; charset=ISO-8859-1

> Sorry to be a pain here, guys, as I'm also a newbie at this as well.

> Where, exactly in the script would I place the " print str(e)  " ?

    except Exception, e:
        print site + " is down"
        print str(e)

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon@panix.com    watch 'House', or a real serial killer to watch 'Dexter'.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

RE: Question RE urllib Jeff James <jeff@jeffljames.com> - 2013-12-16 12:55 -0700
  Re: Question RE urllib John Gordon <gordon@panix.com> - 2013-12-16 20:58 +0000

csiph-web