try/exception - error block
Roy Smith
roy at panix.com
Sun Aug 3 12:27:02 EDT 2014
In article <mailman.12587.1407077774.18130.python-list at python.org>,
Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:
> How to go about this is at "Short, Self Contained, Correct (Compilable),
> Example" at http://sscce.org/
It says there, "most readers will stop reading by 100 lines of code". I
guess I have a short attention span relative to "most readers", because
my tl;dnr threshold is a lot shorter than that.
The other advantage to coming up with a minimal example is that often
the exercise of cutting your problem down to a minimal example is enough
to allow you to figure it out for yourself :-)
More information about the Python-list
mailing list