The Real Python Podcast

Preparing for an Interview With Python Practice Problems


Listen Later

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.
    • Level up your Python skills with our expert-led courses:

      • A Conceptual Primer on OOP in Python
      • Implementing a Stack in Python
      • Working With Linked Lists in Python
      • Support the podcast & join our community of Pythonistas

        ...more
        View all episodesView all episodes
        Download on the App Store

        The Real Python PodcastBy Real Python

        • 4.7
        • 4.7
        • 4.7
        • 4.7
        • 4.7

        4.7

        139 ratings


        More shows like The Real Python Podcast

        View all
        The Changelog: Software Development, Open Source by Changelog Media

        The Changelog: Software Development, Open Source

        288 Listeners

        Software Engineering Daily by Software Engineering Daily

        Software Engineering Daily

        625 Listeners

        Talk Python To Me by Michael Kennedy

        Talk Python To Me

        581 Listeners

        Soft Skills Engineering by Jamison Dance and Dave Smith

        Soft Skills Engineering

        289 Listeners

        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

        Super Data Science: ML & AI Podcast with Jon Krohn

        302 Listeners

        Python Bytes by Michael Kennedy and Brian Okken

        Python Bytes

        213 Listeners

        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

        Syntax - Tasty Web Development Treats

        988 Listeners

        Darknet Diaries by Jack Rhysider

        Darknet Diaries

        8,091 Listeners

        Tech Brew Ride Home by Morning Brew

        Tech Brew Ride Home

        969 Listeners

        Practical AI by Practical AI LLC

        Practical AI

        200 Listeners

        AWS Podcast by Amazon Web Services

        AWS Podcast

        206 Listeners

        Django Chat by William Vincent and Carlton Gibson

        Django Chat

        75 Listeners

        Last Week in AI by Skynet Today

        Last Week in AI

        309 Listeners

        Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

        Machine Learning Street Talk (MLST)

        99 Listeners

        The Pragmatic Engineer by Gergely Orosz

        The Pragmatic Engineer

        69 Listeners