Episode 27: Preparing for an Interview With Python Practice Problems
The Real Python Podcast
Sep 18, 2020 47m
What is an effective way to prepare for a Python interview? Would you like a set of problems that increase in difficulty to practice and hone your Python skills? This week on the show, we have Jim Anderson to talk about his new Real Python article, “Python Practice Problems: Get Ready for Your Next Interview.” This article provides several problems, which include skeleton code, unit tests, and solutions for you to compare your work.
David Amos also joins us this week, and he has brought another batch of PyCoder’s Weekly articles and projects from the Python community. We cover these topics: Structural Pattern Matching, Common Python Data Structures, A Tax Attorney Uses Python, Discover the Role of Python in Space Exploration, and Five Pairs of Magic Methods in Python That You Should Know.
Course Spotlight: How to Implement a Python Stack
In this course, you’ll learn how to implement a Python stack. You’ll see how to recognize when a stack is a good choice for data structures, how to decide which implementation is best for a program, and what extra considerations to make about stacks in a threading or multiprocessing environment.
Topics:
- 00:00:00 – Introduction
- 00:01:37 – Python Practice Problems
- 00:08:19 – Structural Pattern Matching
- 00:14:16 – Common Python Data Structures
- 00:17:49 – Video Course Spotlight
- 00:18:42 – A Tax Attorney Uses Python
- 00:23:36 – Discover the Role of Python in Space Exploration
- 00:26:33 – Thanks for the Reviews!
- 00:27:28 – 5 Pairs of Magic Methods in Python That You Should Know
- 00:36:56 – python-adventure: Original Colossal Caves Adventure Game
- 00:41:06 – clifford: Geometric Algebra for Python
- 00:43:45 – pippi: Computer Music With Python
- 00:46:24 – Thanks and Goodbye
Show Links:
Python Practice Problems: Get Ready for Your Next Interview – Are you a Python developer brushing up on your skills before an interview? If so, then this tutorial will usher you through a series of Python practice problems meant to simulate common coding test scenarios.
“Structural Pattern Matching”; for Python, Part 2 – The saga of PEP 622 continues with updates to the proposed structure of the match
statement—which has some similarities to a switch
statement—and a discussion on the best way to document objections to a PEP.
Common Python Data Structures (Guide) – In this tutorial, you’ll learn about Python’s data structures. You’ll look at several implementations of abstract data types and learn which implementations are best for your specific use cases.
A Tax Attorney Uses Python – See how one tax attorney uses Python to automate grueling and repetitive tasks and improve his business. While the article is non-technical, it’s always fun to see how Python is used in diverse fields.
Discover the Role of Python in Space Exploration – In this learning path from Microsoft, you’ll get an introduction to Python, and be inspired to learn, discover, and create using Python-based data science and machine learning to help generate knowledge about the world beyond Earth.
5 Pairs of Magic Methods in Python That You Should Know – Magic, or “dunder,” methods are an important part of creating custom classes in Python. Learn about some commonly used magic methods by exploring hem in pairs that are frequently used together.
python-adventure: Original Colossal Caves Adventure Game, but in Python 3
clifford: Geometric Algebra for Python
pippi: Computer Music With Python
Additional Links:
- Python Coding Interviews: Tips & Best Practices: Real Python Course
- The Singleton Pattern: A “Creational Pattern” from the Gang of Four book
- The Python heapq Module: Using Heaps and Priority Queues: Real Python Article
- How to Implement a Python Stack: Real Python Article
- Python Stacks, Queues, and Priority Queues in Practice: Real Python Article
- codespell: Fix common misspellings in text files.