Episode 17: Linear Programming, PySimpleGUI, and More
Jul 10, 2020 49m
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.
- 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
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.”
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?
- TextAttack: A Python Framework for Adversarial Attacks, Data Augmentation, and Model Training in NLP
- byob: Build Your Own Botnet
- PyCoder’s Weekly
- Functional Programming in Python
- Linear Programming: Wikipedia article
- The Python pickle Module: How to Persist Objects in Python
- 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