[pyar] Mensaje de exepción

Marcos Dione mdione en grulic.org.ar
Mie Sep 28 12:15:41 ART 2011


On Wed, Sep 28, 2011 at 10:04:41AM -0300, Daniel wrote:
> ¿cómo accedo al mensaje "imposible establecer comunicación" desde el
> bloque try que la ocasiona?

    no es e.value? e.args?

    http://docs.python.org/library/exceptions.html#exceptions.BaseException

-- 
(Not so) Random fortune:
[...] a lot of the 'point' of Fedora is to offer a space for
experimentation and development. [...] Fedora is not a good distribution
to run boring, stable, important server tasks which just don't change a
lot over time [...] if you were prototyping [...] would Fedora be a
great place to do it? Why yes, it would.
        -- Adam Williamson, Fedora QA Community Monkey



More information about the pyar mailing list