The Real Python Podcast

Linear Programming, PySimpleGUI, and More


Listen Later

Are you familiar with linear programming, and how it can be used to solve resource optimization problems? Would you like to free your Python code from a clunky command line and start making convenient graphical interfaces for your users? This week on the show, David Amos is back with another batch of PyCoder’s Weekly articles and projects.

David talks about a recent Real Python article about linear programming in Python. We discuss an article titled “PySimpleGUI: The Simple Way to Create a GUI With Python.” We also cover several other articles and projects from the Python community including: Python’s reduce() function, flaws in the pickle module, advanced pytest techniques, and how to trick a neural network.

Course Spotlight: Parallel Iteration With Python’s zip() Function

This course will get you up to speed with Python’s zip() function. In this course, you’ll discover the logic behind zip() and how you can use it to consistently solve common programming problems, like creating dictionaries.

Topics:

  • 00:00:00 – Introduction
  • 00:01:34 – Python’s reduce(): From Functional to Pythonic Style
  • 00:07:46 – Hands-On Linear Programming: Optimization With Python
  • 00:15:07 – Pickle’s Nine Flaws
  • 00:22:31 – Video Course Spotlight
  • 00:23:33 – Advanced pytest Techniques I Learned While Contributing to pandas
  • 00:33:41 – PySimpleGUI: The Simple Way to Create a GUI With Python
  • 00:38:20 – How to Trick a Neural Network in Python 3
  • 00:43:31 – TextAttack: A Python Framework for Adversarial Attacks, Data Augmentation, and Model Training in NLP
  • 00:46:09 – byob: BYOB (Build Your Own Botnet)
  • 00:49:09 – Thanks and Goodbye
  • Show Links:

    Python’s reduce(): From Functional to Pythonic Style – In this step-by-step tutorial, you’ll learn how Python’s reduce() works and how to use it effectively in your programs. You’ll also learn some more modern, efficient, and Pythonic ways to gently replace reduce() in your programs.

    Hands-On Linear Programming: Optimization With Python – In this tutorial, you’ll learn about implementing optimization in Python with linear programming libraries. Linear programming is one of the fundamental mathematical optimization techniques. You’ll use SciPy and PuLP to solve linear programming problems.

    Pickle’s Nine Flaws – “Python’s pickle module is a very convenient way to serialize and de-serialize objects. It needs no schema, and can handle arbitrary Python objects. But it has problems. This post briefly explains the problems.”

    Advanced pytest Techniques I Learned While Contributing to pandas – Contributing to open-source projects is a great way to learn new techniques and level up your skills. Martin Winkel shares five advanced pytest techniques he learned while contributing to the pandas project.

    PySimpleGUI: The Simple Way to Create a GUI With Python – In this step-by-step tutorial, you’ll learn how to create a cross-platform graphical user interface (GUI) using Python and PySimpleGUI. A graphical user interface is an application that has buttons, windows, and lots of other elements that the user can use to interact with your application.

    How to Trick a Neural Network in Python 3 – Is that a corgi or a goldfish?

    Projects:

    • TextAttack: A Python Framework for Adversarial Attacks, Data Augmentation, and Model Training in NLP
    • byob: Build Your Own Botnet
    • Additional Links:

      • PyCoder’s Weekly
      • Functional Programming in Python
      • Linear Programming: Wikipedia article
      • The Python pickle Module: How to Persist Objects in Python
      • Marshmallow
      • Python REST APIs With Flask, Connexion, and SQLAlchemy – Part 2
      • Effective Python Testing With Pytest
      • Getting Started With Testing in Python
      • Practical Text Classification With Python and Keras
      • PySimpleGUI
      • Level up your Python skills with our expert-led courses:

        • Supercharge Your Classes With Python super()
        • Functional Programming in Python
        • Parallel Iteration With Python's zip() Function
        • 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

          136 ratings


          More shows like The Real Python Podcast

          View all
          Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

          Software Engineering Radio - the podcast for professional software developers

          272 Listeners

          The Changelog: Software Development, Open Source by Changelog Media

          The Changelog: Software Development, Open Source

          283 Listeners

          Thoughtworks Technology Podcast by Thoughtworks

          Thoughtworks Technology Podcast

          41 Listeners

          Talk Python To Me by Michael Kennedy

          Talk Python To Me

          592 Listeners

          Software Engineering Daily by Software Engineering Daily

          Software Engineering Daily

          625 Listeners

          Soft Skills Engineering by Jamison Dance and Dave Smith

          Soft Skills Engineering

          269 Listeners

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

          Super Data Science: ML & AI Podcast with Jon Krohn

          298 Listeners

          Python Bytes by Michael Kennedy and Brian Okken

          Python Bytes

          213 Listeners

          Data Engineering Podcast by Tobias Macey

          Data Engineering Podcast

          142 Listeners

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

          Syntax - Tasty Web Development Treats

          981 Listeners

          DataFramed by DataCamp

          DataFramed

          266 Listeners

          Kubernetes Podcast from Google by Abdel Sghiouar, Kaslin Fields

          Kubernetes Podcast from Google

          181 Listeners

          Practical AI by Practical AI LLC

          Practical AI

          190 Listeners

          The Stack Overflow Podcast by The Stack Overflow Podcast

          The Stack Overflow Podcast

          64 Listeners

          The Pragmatic Engineer by Gergely Orosz

          The Pragmatic Engineer

          52 Listeners