Python Decorators 101

In this course on Python decorators, you’ll learn what they are and how to create and use them. Decorators provide a simple syntax for calling higher-order functions in Python. By definition, a decorator is a function that takes another function and extends the behavior of the latter function without explicitly modifying it. [ Improve Your […]

Read More

Writing Comments in Python

Learn how to write Python comments that are clean, concise, and useful. Quickly get up to speed on what the best practices are, which types of comments it’s best to avoid, and how you can practice writing cleaner comments. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python […]

Read More

Idiomatic Python 101

Python Idioms for people coming from other languages and how to improve your idiomatic practices with Python. We will cover things to do with string concatenation, dictionary look ups, dealing with Python scripts, encoding, and for loops. Note: This course uses Python 2.7 in its coding examples. Resources: Writing Idiomatic Python Python Guide [ Improve […]

Read More

Test-Driven Development With PyTest

In this hands-on course, you’ll see how to create Python unit tests, execute them, and find the bugs before your users do. You’ll learn about the tools available to write and execute tests, check your application’s performance, and even look for security issues. Resources TDD Project Sample Code [ Improve Your Python With 🐍 Python Tricks 💌 […]

Read More

Python Exceptions 101

Learn the proper handling of Python exceptions as well as protecting yourself from when things go wrong. You’ll also learn about how to clean up, after an exception occurs, as well as defining your own exception types when the need arises. Note: This course uses Python 2.7 in its coding examples. [ Improve Your Python […]

Read More