Python Testing, SQLite File Formats, and Coding for Kids
·36m 16s
Shared point
–
PyTest Updates and Testing Best Practices
- The latest release of PyTest 6.2 introduces several improvements for developers, including a better name for the PyTester plugin.
- Highlights include improved verbose mode for better reporting of skipped or failed tests and the addition of a context manager for monkey patching, making it more versatile for helper functions.
- The podcast discusses why PyTest remains the dominant choice in the Python ecosystem due to its velocity, extensibility, and separation from the core Python release cycle.
SQLite as an Application File Format
- A compelling alternative for custom application file formats (replacing JSON or binary blobs) is using a SQLite database file.
- Advantages include:
• Simplified development: Built-in support within Python with no extra dependencies.
• Queryable data: Users can easily search or manipulate data using SQL.
• Atomicity: Transactional integrity ensures data consistency even during interruptions.
• Performance: More efficient updates for large files without needing to rewrite the entire structure.
"A Day in Code" - Teaching Kids Python
- Guest Sherry Eskinawes presents her project, A Day in Code: Python, a picture book that teaches programming through stories.
- The book features full-page illustrations alongside complete code programs, making abstract concepts relatable for children and beginners.
-
"My aim is that the reader and kids especially will enjoy the book in the same way as a normal picture book that is flipped through again and again."
Community News and Insights
- Microsoft Azure now hosts the historic Python Labs page, continuing a long-running inside joke from the Python community.
- The team highlights OpenMV Cam H7, a tool that brings machine vision to microcontrollers, allowing for tasks like April tag detection and TensorFlow Lite integration.
- The hosts discuss the ongoing debate on how to pronounce KWARGS—either as “keyword arguments” or the phonetic “quarks”.