Core Python 3: Robust Resource and Error Handling
by Austin Bingham and Robert Smallshire
Exceptions are ubiquitous in Python. In this course, you'll broaden your knowledge of exceptions and how to work with them. You'll also be introduced to context managers, Python's facility for safely and automatically managing resources.
What you'll learn
The dominant error handling strategy in Python is the use of exceptions, and exceptions are ubiquitous in the Python language, standard library, and package ecosystem. In this course, Core Python 3: Robust Resource and Error Handling, you’ll understand how to work with exceptions in Python. First, you’ll be introduced to context managers, Python’s facility for safely and automatically managing resources. Next, you'll see how larger systems often benefit greatly from more sophisticated exception handling strategies. Finally, you'll discover how to model database transactions. When you're finished with this course, you’ll know how to chain associated exception together, define your own exceptions, and define and deploy context managers.
About the authors
Austin is a founding director of Sixty North, a software consulting,
training, and application development company. A native of Texas, in
2008 Austin moved to Stavanger, Norway where he helped develop
industry-leading oil reservoir modeling software in C++ and Python.
Prior to that he worked at National Instruments developing LabVIEW, at
Applied Research Labs (Univ. of Texas at Austin) developing sonar
systems for the U.S. Navy, and at a number of telecommunications
companies. He is an ex... moreperienced presenter and teacher, having spoken
at a number of conferences, software groups, and internal corporate
venues. Austin is also an active member of the open source community,
contributing regularly to various Python and Emacs projects, and he's
the founder of Stavanger Software Developers, one of the largest and
most active social software groups in Stavanger. Austin holds a Master
of Science in Computer Engineering from the University of Texas at
Robert Smallshire is a founder of Sixty North, a software product and consulting business in Norway. Robert has worked in senior architecture and technical management roles for software companies in the energy sector processing the masses of information flowing from today's digital oil fields. He has designed, and implemented effective architectures for sophisticated scientific and enterprise software in Python, C++, and C#. Robert is a regular speaker at conferences, meetups and corporate softw... moreare events where he can be found speaking about topics as diverse as behavioral microeconomics in software development to implementing web services on 8-bit microcontrollers. He is organizer of the Oslo Python group and holds a Ph.D. in a natural science.