Artwork

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

Behavior-Driven vs Test-Driven Development & Using Regex in Python

57:03
 
分享
 

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

What is behavior-driven development, and how does it work alongside test-driven development? How do you communicate requirements between teams in an organization? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

In this episode, we expand on our software testing discussion from two weeks ago by adding behavior-driven development concepts. Christopher describes how BDD correlates with test-driven development and how it fosters collaboration within a team. We discuss building acceptance tests written in plain language and a handy tool for creating them.

We also share several other articles and projects from the Python community, including a news roundup, using regular expressions in Python, dealing with missing data in Polars, monkey patching in Django, first steps with Playwright, 3D printing giant things with a Python jigsaw generator, and a query language for JSON.

This episode is sponsored by Postman.

Course Spotlight: Regular Expressions and Building Regexes in Python

In this course, you’ll learn how to perform more complex string pattern matching using regular expressions, or regexes, in Python. You’ll also explore more advanced regex tools and techniques that are available in Python.

Topics:

  • 00:00:00 – Introduction
  • 00:02:21 – PyOhio 2025 July 26-27, 2025 Announced
  • 00:02:38 – Python 3.13.2 and 3.12.9 now available!
  • 00:02:52 – Django bugfix releases issued: 5.1.6, 5.0.12, and 4.2.19
  • 00:03:04 – DjangoCon Europe 2025 - Real Python Podcast
  • 00:05:24 – How to Deal With Missing Data in Polars
  • 00:10:29 – Monkey Patching Django
  • 00:15:50 – Sponsor: Postman
  • 00:16:42 – My First Steps With Playwright
  • 00:20:48 – How to Use Regular Expressions in Python
  • 00:25:55 – Video Course Spotlight
  • 00:27:25 – TDD vs. BDD: What’s the Difference?
  • 00:50:13 – 3D Printing Giant Things With a Python Jigsaw Generator
  • 00:53:58 – jmespath.py: Query Language for JSON
  • 00:55:58 – Thanks and goodbye

News:

Topics:

  • How to Deal With Missing Data in Polars – In this tutorial, you’ll learn how to deal with missing data in Polars to ensure it doesn’t interfere with your data analysis. You’ll discover how to check for missing values, update them, and remove them.
  • Monkey Patching Django – The nanodjango project is a modification to the Django framework that lets you get started with a single file instead of the usual cookie-cutter directory structure. This is a detailed post explaining how nanodjango monkey patches Django to achieve this result.
  • Fake Django Objects With Factory Boy – The
  • My First Steps With Playwright – Playwright is a browser-based automation tool that can be used for web scraping or testing. This intro article shows you how to use the Python interface to access a page including using cookies.
  • How to Use Regular Expressions in Python – This post explores the basics of regular expressions in Python, as well as more advanced techniques. It includes real-world use cases and performance optimization strategies.

Discussion:

Projects:

Additional Links:

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

Support the podcast & join our community of Pythonistas

  continue reading

247集单集

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

What is behavior-driven development, and how does it work alongside test-driven development? How do you communicate requirements between teams in an organization? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.

In this episode, we expand on our software testing discussion from two weeks ago by adding behavior-driven development concepts. Christopher describes how BDD correlates with test-driven development and how it fosters collaboration within a team. We discuss building acceptance tests written in plain language and a handy tool for creating them.

We also share several other articles and projects from the Python community, including a news roundup, using regular expressions in Python, dealing with missing data in Polars, monkey patching in Django, first steps with Playwright, 3D printing giant things with a Python jigsaw generator, and a query language for JSON.

This episode is sponsored by Postman.

Course Spotlight: Regular Expressions and Building Regexes in Python

In this course, you’ll learn how to perform more complex string pattern matching using regular expressions, or regexes, in Python. You’ll also explore more advanced regex tools and techniques that are available in Python.

Topics:

  • 00:00:00 – Introduction
  • 00:02:21 – PyOhio 2025 July 26-27, 2025 Announced
  • 00:02:38 – Python 3.13.2 and 3.12.9 now available!
  • 00:02:52 – Django bugfix releases issued: 5.1.6, 5.0.12, and 4.2.19
  • 00:03:04 – DjangoCon Europe 2025 - Real Python Podcast
  • 00:05:24 – How to Deal With Missing Data in Polars
  • 00:10:29 – Monkey Patching Django
  • 00:15:50 – Sponsor: Postman
  • 00:16:42 – My First Steps With Playwright
  • 00:20:48 – How to Use Regular Expressions in Python
  • 00:25:55 – Video Course Spotlight
  • 00:27:25 – TDD vs. BDD: What’s the Difference?
  • 00:50:13 – 3D Printing Giant Things With a Python Jigsaw Generator
  • 00:53:58 – jmespath.py: Query Language for JSON
  • 00:55:58 – Thanks and goodbye

News:

Topics:

  • How to Deal With Missing Data in Polars – In this tutorial, you’ll learn how to deal with missing data in Polars to ensure it doesn’t interfere with your data analysis. You’ll discover how to check for missing values, update them, and remove them.
  • Monkey Patching Django – The nanodjango project is a modification to the Django framework that lets you get started with a single file instead of the usual cookie-cutter directory structure. This is a detailed post explaining how nanodjango monkey patches Django to achieve this result.
  • Fake Django Objects With Factory Boy – The
  • My First Steps With Playwright – Playwright is a browser-based automation tool that can be used for web scraping or testing. This intro article shows you how to use the Python interface to access a page including using cookies.
  • How to Use Regular Expressions in Python – This post explores the basics of regular expressions in Python, as well as more advanced techniques. It includes real-world use cases and performance optimization strategies.

Discussion:

Projects:

Additional Links:

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

Support the podcast & join our community of Pythonistas

  continue reading

247集单集

所有剧集

×
 
Loading …

欢迎使用Player FM

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

 

快速参考指南

边探索边听这个节目
播放