Learning Path ⋅ Skills: Python, Exceptions, Logging, Debugging, pdb
Discover the essentials of Python exception handling, logging, and debugging. Explore logging, pdb debugging, raising exceptions, and built-in exceptions. Perfect for developers looking to enhance their code’s reliability and maintainability.
Learning Path ⋅ 6 Resources
#1
Course
Logging Inside PythonLearn why and how to get started with Python's powerful logging module to meet the needs of beginners and enterprise teams alike.
#2
Tutorial
Python Logging: A Stroll Through the Source CodeLearn about how the Python logging package is designed from an OOP perspective. You'll walk line by line through the source code and become better equipped to know what your code is doing.
#3
Course
Debugging in Python With pdbLearn the basics of using pdb, Python's interactive source code debugger. pdb is a great tool for tracking down hard-to-find bugs, and it allows you to fix faulty code more quickly.
#4
Course
Using raise for Effective ExceptionsLearn how to raise exceptions in Python, which will improve your ability to efficiently handle errors and exceptional situations in your code. This way, you'll write more reliable, robust, and maintainable code.
#5
Tutorial
Python's Built-in Exceptions: A Walkthrough With ExamplesIn this tutorial, you'll get to know some of the most commonly used built-in exceptions in Python. You'll learn when these exceptions can appear in your code and how to handle them. Finally, you'll learn how to raise some of these exceptions in your code.
#6
Course
Handling or Preventing Errors in Python: LBYL vs EAFPLearn about two popular coding styles in Python: Look Before You Leap (LBYL) and Easier to Ask Forgiveness than Permission (EAFP). You can use these styles to deal with errors and exceptional situations in your code. You'll dive into the discussion on LBYL vs EAFP in Python.
Got feedback on this learning path?
Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4