#520 – APRIL 12, 2022
View in Browser »
The Oregon Trail in Python
In the 1971 text-based game, the player guides a party of settlers along the Oregon Trail. Random events occur and death abounds. Learn how to write this adventure game in Python.
KEITH FOSTER
Build a Site Connectivity Checker in Python
In this step-by-step project, you’ll build a Python site connectivity checker for the command line. While building this app, you’ll integrate knowledge related to making HTTP requests with standard-library tools, creating command-line interfaces, and managing concurrency with asyncio and aiohttp.
REAL PYTHON
Pinpoint Python Errors in Seconds With Datadog Application Performance Monitoring
Datadog’s Application Performance Management generates detailed flame graphs to help you identify bottlenecks and latency in your Python code. Navigate seamlessly between Python app traces, logs and metrics to troubleshoot and resolve application performance issues fast. Try Datadog APM free →
DATADOGsponsor
Python f-Strings Are More Powerful Than You Might Think
Learn about the lesser-known features of Python’s f-strings, including date formatting, variable debugging, nested f-strings, and conditional formatting.
MARTIN HEINZ• Shared by Martin Heinz
Discussions
Python Jobs
Python Technical Architect (USA)
Academic Innovation Software Dev (Ann Arbor, MI, USA)
Software Development Lead (Ann Arbor, MI, USA)
Senior Platform Engineer (USA)
Senior Backend Software Engineer (USA)
Senior Backend Software Engineer (USA)
Advanced Python Engineer (Newport Beach, CA, USA)
Lead Software Engineer (Anywhere)
Data Engineer (Chicago, IL, USA)
Articles & Tutorials
YAML: The Missing Battery in Python
In this tutorial, you’ll learn all about working with YAML in Python. By the end of it, you’ll know about the available libraries, their strengths and weaknesses, and the advanced and potentially dangerous features of YAML. You’ll also serialize Python objects and create a YAML syntax highlighter.
REAL PYTHON
Creating Better Error Messages for Python 3.10 & 3.11
What goes into creating those enhanced error messages in the latest versions of Python? How does the new PEG parser help to pinpoint where errors have occurred? This week on the show, Pablo Galindo Salgado talks about the work that goes into creating these improvements.
REAL PYTHONpodcast
CData Software — The Easiest Way to Connect Python With Data
Connect, Integrate, & Automate your data from any other application or tool in real-time, on-premise or cloud, with simple data access to more than 250 cloud applications and data sources. Learn more at cdata.com →
CDATA SOFTWAREsponsor
Python REST APIs With FastAPI
In this course, you’ll learn the main concepts of FastAPI and how to use it to quickly create web APIs that implement best practices by default. By the end of it, you will be able to start creating production-ready web APIs.
REAL PYTHONcourse
10 Patterns for Writing Cleaner Python
Cleaner code is more focused, easier to read, easier to debug, and generally easier to maintain. This guide covers ten different patterns Python programmers should apply in their code.
ALEX OMEYER
Exploring the World of Declarative Programming
The Prolog programming language can be use as a Python library through pyswip
. This article introduces you to declarative coding and how to embed it in your Python code.
PAMPELMUSE
React in Python With Pyodide
Pyodide is a Web Assembly implementation of Python, this article talks about how to use it to write React hooks using Pyodide instead of Javascript.
XING HAN LU
Take Your Github Repository to the Next Level
How to spice up your GitHub repo pages, making them more discoverable, readable, and more useful to the coding community.
ELUDA
Discovering Basic Blocks in Python Bytecode
Examine Python bytecode by diving deep into reading it and constructing a control-flow graph programmatically.
MAX BERNSTEIN
Level Up Your Analytics
Work with your MongoDB data via Apache Arrow, numPy, and Pandas. Seamless, effective analysis with one line of code. Try it today and use Code MKT-PYCODER to redeem $25 of free MongoDB Atlas credits!
MONGODBsponsor
Running Minor Tasks With a Simple Job System in Django
Learn how to write a small job processing mechanism to do background work in your Django project.
MANOS PITSIDIANAKIS
Gotchas of Early-Bound Function Argument Defaults in Python
Exploring how mutable default arguments in Python can cause some surprising behaviors.
REDOWAN DELOWAR• Shared by Redowan Delowar
Projects & Code
Events
PyCon DE & PyData Berlin 2022
April 11 to April 14, 2022
PYCON.DE
Santa Cruz Python Meetup
April 13, 2022
MEETUP.COM
Weekly Real Python Office Hours Q&A (Virtual)
April 13, 2022
REALPYTHON.COM
Heidelberg Python Meetup
April 13, 2022
MEETUP.COM
PyCamp Spain 2022
April 15 to April 19, 2022
PYCAMP.ES
Happy Pythoning!
This was PyCoder’s Weekly Issue #520.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]