I’m a firm believer in improving your Python fluency via practice, practice, and more practice. “Python Workout” is a collection of my 50 favorite exercises from my 20 years of
I teach about 10 different courses to companies around the world, but my favorite remains “Python for non-programmers.” Participants in this course are typically network and system administrators, support engineers,
It’s time for another cohort of Weekly Python Exercise! This time, it’s an advanced cohort with 15 weeks of practice in such subjects as functional programming, object-oriented programming, iterators, generators,
Let’s say you have a list in Python: >>> mylist = [10, 20, 30] You want to add something to that list. The most standard way to do this is
Do you use Python, but sometimes feel stuck? Do you visit Stack Overflow every time you want to solve a problem? Do you wish that you understood how to use
Let’s say that we create a new, empty Python dictionary: >>> d = {} How much memory does this new, empty dict consume? We can find out with “sys.getsizeof“: >>>
If you are a relative beginner to Python, and want to improve your understanding of functions and modules, then there’s no better way to do so than practice. Weekly Python
If you’ve just finished a Python course or book, then you might feel a bit nervous about your Python knowledge. You might be wondering how you can become a master
Another cohort of Weekly Python Exercise starts next week! This time, it’s course A2 — for beginners, focusing on functions and modules. Registration closes on Friday. So if you want
I was delighted to appear on the popular “Talk Python to Me” podcast, run by Michael Kennedy. In the podcast, I talk about teaching, learning, and teaching Python to companies.