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