Sveriges mest populära poddar

The Real Python Podcast

Linear Programming, PySimpleGUI, and More

50 min • 10 juli 2020

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.

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:

Additional Links:

Level up your Python skills with our expert-led courses:

Support the podcast & join our community of Pythonistas

Kategorier
Förekommer på
00:00 -00:00