Artwork

内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Building Python Unit Tests & Exploring a Data Visualization Gallery

42:43
 
分享
 

Manage episode 421309683 series 2637014
内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

How do you start adding unit tests to your Python code? Can the built-in unittest framework cover most or all of your needs? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

We dig into a recent tutorial by Leodanis Pozo Ramos about writing unit tests using Python’s unittest. The tutorial covers organizing your tests, exploring assert methods, creating test fixtures, and debugging failing tests.

We explore a collection of Python data visualizations and tutorials from the Python Graph Gallery. The website features hundreds of charts and graphs built using popular plotting libraries. Each chart type features a foundational tutorial that introduces the structure and application.

We also share several other articles and projects from the Python community, including a news roundup, the new REPL coming in Python 3.13, a pytest daemon to 10X test iteration speed, a discussion about software friction, a Raspberry Pi document scanner, and a project for controlling time per iteration loop.

Course Spotlight: Building a Python GUI Application With Tkinter

In this video course, you’ll learn the basics of GUI programming with Tkinter, the de facto Python GUI framework. Master GUI programming concepts such as widgets, geometry managers, and event handlers. Then, put it all together by building two applications: a temperature converter and a text editor.

Topics:

  • 00:00:00 - Introduction
  • 00:02:08 - Python Software Foundation Board Election Dates for 2024
  • 00:02:35 - 2023 PSF Annual Impact Report
  • 00:03:03 - Python’s unittest: Writing Unit Tests for Your Code
  • 00:09:41 - What’s New in Python 3.13
  • 00:10:38 - The New REPL in Python 3.13
  • 00:13:39 - Best Python Chart Examples
  • 00:15:27 - Animation with text that highlights important events
  • 00:16:39 - Sankey Diagram with Python and Plotly
  • 00:18:55 - Video Course Spotlight
  • 00:20:25 - Pytest Daemon: 10X Local Test Iteration Speed
  • 00:23:58 - Software Friction
  • 00:35:41 - A Raspberry Pi Document Scanner
  • 00:39:00 - pacemaker: For Controlling Time Per Iteration Loop in Python
  • 00:41:55 - Thanks and goodbye

News:

Show Links:

Discussion:

  • Software Friction – Friction is everywhere in software development. Two setbacks are more than twice as bad as one setback. This article discusses the sources of software friction and what you can do about it.

Projects:

Additional Links:

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

Support the podcast & join our community of Pythonistas

  continue reading

223集单集

Artwork
icon分享
 
Manage episode 421309683 series 2637014
内容由Real Python提供。所有播客内容(包括剧集、图形和播客描述)均由 Real Python 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

How do you start adding unit tests to your Python code? Can the built-in unittest framework cover most or all of your needs? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

We dig into a recent tutorial by Leodanis Pozo Ramos about writing unit tests using Python’s unittest. The tutorial covers organizing your tests, exploring assert methods, creating test fixtures, and debugging failing tests.

We explore a collection of Python data visualizations and tutorials from the Python Graph Gallery. The website features hundreds of charts and graphs built using popular plotting libraries. Each chart type features a foundational tutorial that introduces the structure and application.

We also share several other articles and projects from the Python community, including a news roundup, the new REPL coming in Python 3.13, a pytest daemon to 10X test iteration speed, a discussion about software friction, a Raspberry Pi document scanner, and a project for controlling time per iteration loop.

Course Spotlight: Building a Python GUI Application With Tkinter

In this video course, you’ll learn the basics of GUI programming with Tkinter, the de facto Python GUI framework. Master GUI programming concepts such as widgets, geometry managers, and event handlers. Then, put it all together by building two applications: a temperature converter and a text editor.

Topics:

  • 00:00:00 - Introduction
  • 00:02:08 - Python Software Foundation Board Election Dates for 2024
  • 00:02:35 - 2023 PSF Annual Impact Report
  • 00:03:03 - Python’s unittest: Writing Unit Tests for Your Code
  • 00:09:41 - What’s New in Python 3.13
  • 00:10:38 - The New REPL in Python 3.13
  • 00:13:39 - Best Python Chart Examples
  • 00:15:27 - Animation with text that highlights important events
  • 00:16:39 - Sankey Diagram with Python and Plotly
  • 00:18:55 - Video Course Spotlight
  • 00:20:25 - Pytest Daemon: 10X Local Test Iteration Speed
  • 00:23:58 - Software Friction
  • 00:35:41 - A Raspberry Pi Document Scanner
  • 00:39:00 - pacemaker: For Controlling Time Per Iteration Loop in Python
  • 00:41:55 - Thanks and goodbye

News:

Show Links:

Discussion:

  • Software Friction – Friction is everywhere in software development. Two setbacks are more than twice as bad as one setback. This article discusses the sources of software friction and what you can do about it.

Projects:

Additional Links:

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

Support the podcast & join our community of Pythonistas

  continue reading

223集单集

所有剧集

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南