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.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Learning Python in the Age of AI, Cores Dev Using Typing, Creating A Debugger, and More

Tuesday, November 21, 2023

Learning Python During an AI Revolution #604 – NOVEMBER 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Learning Python During an AI Revolution Has the current growth of artificial intelligence

SciPy Builds, Packaging Tools, Document with ChatGPT, and More

Tuesday, November 14, 2023

SciPy Builds on Windows Are a Minor Miracle #603 – NOVEMBER 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo SciPy Builds on Windows Are a Minor Miracle Moving SciPy to Meson meant finding a

Porting from setup.py, Hangman, Timestamp Performance, and More

Tuesday, November 7, 2023

My User Experience Porting Off `setup.py` #602 – NOVEMBER 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo My User Experience Porting Off setup.py It is no secret that packaging in Python is

Ptpython, Ruff Formatter, Lambdas, and More

Tuesday, October 31, 2023

Boost Your Coding Productivity With Ptpython #601 – OCTOBER 31, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Boost Your Coding Productivity With Ptpython Learn how to enhance your Python

FastAPI Middleware, OOP, 3.12 Performance, and More

Tuesday, October 24, 2023

Building Custom Middleware in FastAPI #600 – OCTOBER 24, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Building Custom Middleware in FastAPI Middleware in a web stack framework is able to

You Might Also Like

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.