S(a|i)mple Python Programs
Originally posted
· 1 min read
Via Jesse Noller, I came across Steve Howell’s SimplePrograms page in the Python wiki. What an excellent idea!
It’s a perfectly concise reference for program structure and common usage patterns. It isn’t anywhere close to as exhaustive as the Python Quick Reference (can anything 59 pages long qualify as a “quick” reference?) or the Python Phrasebook (another recent discovery, I need to pick up a copy) – but that’s the point. It is a lot more challenging to write concise examples than an exhaustive reference. Thanks to Steve for a getting the ball rolling.
I do not see an example of raising exceptions. I’ll have to spend some time thinking of the simplest program that would benefit from using exceptions.