A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community. The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics. Join us every Friday morning to hear what's new in the world of Python programming and become a more effective Pythonista.

Launching Python, Virtual Environments, and Locking Dependencies With Brett Cannon

January 14, 2022 0:50:42 49.64 MB Downloads: 0

Would you like a simple command to launch your Python programs using the newest version of the language installed on your machine? This week on the show, we continue our conversation with Brett Cannon. Brett discusses his project, the Python Launcher for Unix.

We dive into Brett’s workflow to set up projects, virtual environments, and prepare for distribution. He shares some of the tools he employs and reasons for keeping things simple.

We also talk about PEP 665, which specifies a file format to list an application’s Python package installation requirements. Brett shares why he co-authored the PEP and a bit of the community’s reaction. It leads to a deeper conversation about going beyond ‘requirements.txt’ to lock files.

Course Spotlight: Data Visualization Interfaces in Python With Dash

In this course, you’ll learn how to build a dashboard using Python and Dash. Dash is a framework for building data visualization interfaces. It helps data scientists build fully interactive web applications quickly.

Topics:

  • 00:00:00 – Introduction
  • 00:01:43 – Python Launcher for Unix
  • 00:09:36 – Hiding a virtual environment directory
  • 00:13:30 – Sponsor: Scout APM
  • 00:14:17 – Environment managers and being an editor vs an IDE person
  • 00:17:32 – PEP 665, lock files, and Brett’s dependency workflow
  • 00:20:56 – The hurdles of source distributions and version control repositories
  • 00:25:07 – Drawbacks of requirements files and standardizing lock files
  • 00:28:19 – Why PEP 665 is controversial and the changes to setuptools
  • 00:33:48 – Video Course Spotlight
  • 00:35:16 – Are these examples of growing pains?
  • 00:37:51 – Unfair comparisons to packaging in Rust or other languages
  • 00:42:35 – What are you excited about in the world of Python?
  • 00:43:54 – What do you want to learn next?
  • 00:49:23 – Thanks and goodbye

Show Links:

Support the podcast & join our community of Pythonistas