Issue #605

Inline Dependencies, Conway's Game of Life, Bug Categories, and More

Nov. 28, 2023

Inline Dependencies, Conway's Game of Life, Bug Categories, and More
#605 – NOVEMBER 28, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Inline Dependencies for Small Python Scripts
Sabs wanted the ability to specify dependencies inside a single Python script, and although there are PEPs on this topic, their implementation is a ways off. Sabs decided to solve this problem directly: introducing pip.wtf a code snippet you copy into your script that does dependency loading through a function call.
PIP.WTF

Build Conway’s Game of Life With Python
In this step-by-step project, you’ll implement Conway’s Game of Life in Python. To make the game usable, you’ll create a user-friendly command-line interface (CLI) with several options that will allow you to run the game using different life patterns and configurations.
REAL PYTHON

Master Python With Pybites PDM 🚀
Are you stuck in tutorial paralysis? Crush imposter syndrome with the 12-week Pybites PDM Program. Learn advanced Python, build impactful real world apps, and get 1:1 mentorship. Stand out in tech interviews and elevate your developer journey. Join a thriving Python community. Enroll today! 🐍👩‍💻
PYBITESsponsor

The Categories of Bugs in Python Apps
This article categorizes errors in your Python code into three groups: type-checking, import explosions, and runtime errors. Learn how each is treated differently and how to better handle them in your programs.
TIN

Django Ninja 1.0 Released
DJANGO-NINJA.DEV

Python 3.13.0 Alpha 2 Is Now Available
CPYTHON DEV BLOG

Django 5.0 Release Candidate 1 Released
DJANGO SOFTWARE FOUNDATION


Discussions


What’s the Coolest Thing You’ve Done With Python?
REDDIT

What’s It Like to Maintain an OSS Fork at Work?
LOBSTE.RS


Python Jobs


Software Engineer - Intern (Summer 2024)
CAUSEWAY CAPITAL MANAGEMENT 📍 DALLAS, TX, USA

More Python Jobs >>>


Articles & Tutorials


How to Render Markdown in a Django Application
In this tutorial, you’ll learn how to create and render web content in Django with the simplicity and flexibility of the Markdown text formatting language.
REAL PYTHON

10 Truths They Won’t Tell You About a Software Job
This opinion piece from Mensur addresses the wide gulf between what is learned in school and what is encountered in real world software development. He mentions topics ranging from the frequency of dealing with legacy code, to the reality of meetings and estimates. Associated HN discussion.
MENSUR DURAKOVIC

A Disorganized List of Maintainer Tasks
David is the maintainer of Flask and this list shows all that entails. Some things are obvious and others are things you might not be aware of. If you’re participating in the OSS community, it is good to know what is on here, if you just use libraries, appreciate all the work being done!
DAVID LORD

One Liners Python Edition
A collection of single-line Python snippets that cover common tasks in programming. Includes removing duplicates from lists, reversing strings, finding the most common element in a list, and much more.
MUHAMMAD RAZA

The Radiating Programmer
Love them or hate them, the daily stand-up is out there. It may have problems, but at its core, the three mains questions (what did you do? what are you planning? what is blocking you?) provide a tool for radiating information, and at core that’s a good idea.
JORGE MANRUBIA

Fixit 2: Meta’s Next-Generation Auto-Fixing Linter
Meta has a large collection of plug-ins for linting, which makes some of the usual solutions problematic at scale. This article introduces Fixit 2, an open source, pluggable linter.
AMETHYST REESE

Beginners Should Use Django, Not Flask
This opinion piece by Bite Code states why developers new to the web space should use Django, even though Flask has the simpler “hello world” which makes it attractive.
BITE CODE

Error Culture
This multi-part post talks about how getting notified about all errors leads to error fatigue from false positives and a culture where errors get ignored. Long term this can have disastrous consequences.
RYAN CHELEY

Python Basics Exercises: Modules and Packages
In this video course, you’ll practice separating your code into modules, using the import statement to access another module’s namespace, and creating Python packages.
REAL PYTHON course

How to Write Efficient Python Code: A Tutorial for Beginners
Are you a programmer looking to get better at Python? Learn some of Python’s features that’ll help you write more elegant and Pythonic code.
BALA PRIYA C • Shared by Bala Priya C

The Changing “Guarantees” Given by Python’s GIL
This article covers the changes the Global Interpreter Lock has undergone since Python 3.9 and how that impacts the assumptions you can make in your code.
STEFAN MARR

11 Fun Python Libraries to Make Your Day Better
This article covers 11 libraries that the author had fun playing with, including PyGame, Asciimatics, Arcade, and more.
MARINE GOSSELIN

datetime.utcnow() Is Now Deprecated
Python 3.12 has deprecated utcnow() and utcfromtimestamp(). This article covers why and what to use instead.
MIGUEL GRINBERG


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

Simple Async Queue
SAQ-PY.READTHEDOCS.IO • Shared by Nickolas Grigoriadis

toga: A Python Native, OS Native GUI Toolkit
GITHUB.COM/BEEWARE

lato: Microframework for Modular Monoliths
GITHUB.COM/PGORECKI

hexabyte: A Modern, Modular, and Robust TUI Hex Editor
GITHUB.COM/THETACOM

error-links: Add Links to Search Google to Your Tracebacks
GITHUB.COM/RODRIGOGIRAOSERRAO • Shared by Rodrigo Girão Serrão 🐍🚀

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 29, 2023

SPb Python Drinkup
November 30, 2023

PyLadiesCon 2023
December 2 to December 4, 2023

XtremePython 2023
December 5 to December 6, 2023

PyData Global 2023
December 6 to December 9, 2023

Pyjamas Conf 2023
December 9 to December 11, 2023

Sciwork 2023
December 9 to December 11, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.