Using get() to return a default value from a Python dict
Python’s dictionaries have a “get” method to look up a key while providing a fallback value. This short screencast tutorial gives you a real-world example where this might come in handy.
Python’s dictionaries have a “get” method to look up a key while providing a fallback value. This short screencast tutorial gives you a real-world example where this might come in handy.
This is a bit of an experiment – but you might find it interesting!
Recommendations for intermediate-level Python books that help you get past the basics so you can start working on small projects.
Sublime Text comes with a handy command line tool (“subl”) that lets you control Sublime Text from the terminal. In this 3 minute screencast I’ll show you how to setup the command and what you can do with it.
In this short screencast I’ll walk you through a simple code example that demonstrates how you can use custom exception classes in your Python code to make it easier to understand, easier to debug, and more maintainable.
If you’re just getting started with Sublime Text it’s easy to become confused about which version of Sublime you should use.
When you ask for editor recommendations as a Python developer one of the top choices you’ll hear about is Sublime Text. In this post I’ll review the status of Python development with Sublime Text as of 2016.
This is my review of Zen Tabs, a Sublime Text 2/3 plugin that keeps your open editor tabs in check.
One of my friends works at a software company where all code changes must be reviewed before they’re deployed to production – I think that’s great. However, he finds that his team spends too much time discussing code style and formatting issues in their code reviews.
Let’s talk about using Python’s min and max functions on a list containing other lists. Sometimes this is referred to as a nested list or a lists of lists.
A quick video that demonstrates bpython, an awesome alternative Python interpreter.
Improve Your Python with a fresh 🐍 Python Trick 💌 every couple of days
🔒 No spam ever. Unsubscribe any time.