Advent of Python, Error Message Styles, Django 4.0, and More

#502 – DECEMBER 7, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Advent of Code: Solving Your Puzzles With Python
Advent of Code is an online advent calendar that shares new programming puzzles each day from December 1st to the 25th. In this tutorial, you’ll learn why solving programming puzzles can be beneficial and how you can get started with Advent of Code using Python.
REAL PYTHON

Error Message Style Guides of Various Languages
“PyPy has been trying to produce good SyntaxErrors and other errors for a long time. CPython has also made an enormous push to improve its SyntaxErrors in the last few releases. These improvements are great, but the process feels somewhat arbitrary sometimes. To see what other languages are doing, I asked people on Twitter whether they know of error message style guides for other programming languages.”
CARL FRIEDRICH BOLZ-TEREICK

Connect, Integrate, & Automate Your Data—From Python, or Any Other Application or Tool
CData makes it easier to unlock the value of data — simplifying connectivity between applications and data sources. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise and cloud databases, SaaS, APIs, NoSQL and more. Visit cdata.com to learn more →
CDATA SOFTWAREsponsor

Binary, Bytes, and Bitwise Operators in Python
In this course, you’ll learn how to use Python’s bitwise operators to manipulate individual bits of data at the most granular level. With the help of hands-on examples, you’ll see how you can apply bitmasks and overload bitwise operators to control binary data in your code.
REAL PYTHON course

Django 4.0 Release Notes
New built-in RedisCache backend, forms are now rendered using the template engine to enhance customization, Python standard library’s zoneinfo is now the default timezone implementation.
DJANGO SOFTWARE FOUNDATION

A Message From the PSF’s Outgoing Executive Director
PYTHON SOFTWARE FOUNDATION

CPython 3.10.1 Released
CPYTHON DEV BLOG


Discussions


Best Way to “Swap” Words (Multiple Characters) in a String?
STACK OVERFLOW

What Are Your Bad Python Habits?
REDDIT

How Much Was Python Used From 1991 to 2006? What For?
HACKER NEWS


Python Jobs


Python Django Consultant (United States)
CREDENTIVE SECURITY

Senior Python Developer (Anywhere)
SIX FEET UP

Senior Backend Engineer (Anywhere)
BMAT

Senior Backend Software Engineer (Anywhere)
CLAY

Senior Python Engineer (Anywhere)
FLASHPOINT

Senior Software Engineer (United States)
TOMO

Python Backend Engineer (Hasselt, Belgium)
MADEWITHLOVE

More Python Jobs >>>


Articles & Tutorials


Prettify Your Data Structures With Pretty Print in Python
The pprint module, Python’s data pretty printer, is a useful part of the standard library. You can work with it for debugging data structures and increasing the readability of your output. In this tutorial, you’ll find that pprint is both straightforward to use and also highly customizable.
REAL PYTHON

Story of Jython [2002]
“The story of Jython begins one summer in Ashland, Oregon. I was juggling in a park behind a theater when I met Pavel Curtis, a scientist at Xerox PARC, who wanted to pass clubs. While we were juggling together he told me about a wonderful new programming language called Python. Writing code in Python felt like writing the sort of natural informal code that developers would use when they wanted to quickly share ideas. It was executable pseudo-code.”
JIM HUGUNIN

Shortcut Provides Speedy Task Management, Reporting, and Collaboration for Software Teams
Shortcut is project management built for developers. Whether you’re a startup that iterates quickly by providing every engineer with a free pallet of Red Bull, or a large org that has strict ship dates to hit, give us a try for free →
SHORTCUTsponsor

Discussing Type Hints, Protocols, and Ducks in Python With Luciano Ramalho
There seem to be three kinds of Python developers: those unaware of type hints or have no opinion, ones that embrace them, and others who have an allergic reaction at the mention of them. Python is famously a dynamically typed language, but there are advantages to adding type hints to your code. This week on the show, it’s Luciano Ramalho discussing his recent talk titled, “Type hints, protocols, and good sense.”
REAL PYTHON podcast

How to Create a Computer Virus in Python
“I was relaxing on a beach during my summer leave when I received a mail from a reader that asked me if it is technically possible to write a virus using Python. The short answer: YES. The longer answer: yes, BUT…”
DAVIDE MASTROMATTEO • Shared by Davide

Get Your Next Python Job through Hired
Hired is home to thousands of companies from startups to Fortune 500s actively hiring developers, data scientists, mobile engineers & more. Create a profile & let hiring managers reach out to you. It’s completely free for job-seekers, so don’t wait!
HIREDsponsor

Writing Simple Python GUIs for Your Command-Line-Phobe Coworkers
“These are some of the lessons I’ve learned on how to package rudimentary Python scripts into simple Windows GUIs for your […] coworkers to use.”
NASH REILLY

Creating a Better Flamegraph Visualization
Flamegraphs are a great way to visualize performance and memory bottlenecks, but with a little tweaking, you can make them even more useful.
ITAMAR TURNER-TRAURING

Python’s None Problem, and How Mypy Helps You Deal With It
JR HEARD


Projects & Code


emacs-python-coverage: Show Python Coverage Information Directly in Emacs
GITHUB.COM/WBOLSTER

pip-audit: Audits Python Environments and Dependency Trees for Known Vulnerabilities
GITHUB.COM/TRAILOFBITS

numpy-financial: Financial Functions in NumPy
NUMPY.ORG

PyXIRR: Collection of Financial Functions
GITHUB.COM/ANEXEN • Shared by Alexander

latexrun: A 21st Century LaTeX Wrapper
GITHUB.COM/ACLEMENTS

pkgversions: Update Python Package Versions During Development
GITHUB.COM/HASII2011 • Shared by Humberto Sanchez II

📆🐍 Upcoming Python Events


⋅ Weekly Real Python Office Hours Q&A (Virtual) December 8, 2021

⋅ Python Atlanta December 9, 2021

⋅ Python Miami December 11 to December 12, 2021

⋅ DFW Pythoneers 2nd Saturday Teaching Meeting December 11, 2021

⋅ Edmonton Python User Group December 13, 2021

⋅ IndyPy Monthly Meetup December 14, 2021

⋅ TuPLE (Tucson Python Language Enthusiasts) December 14, 2021

⋅ Edmonton.py: The Edmonton Python User Group December 14, 2021
Happy Pythoning!
Copyright © 2021 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

Python Argument Defaults, Data Viz With Dash, Rats in VR, and More

Tuesday, November 30, 2021

Late-Bound Argument Defaults for Python #501 – NOVEMBER 30, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Late-Bound Argument Defaults for Python Python supports default values for arguments to

Python News Roundup, Web Performance Benchmarking, Static Duck Typing, and More

Tuesday, November 23, 2021

Python News: What's New From October 2021? #500 – NOVEMBER 23, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python News: What's New From October 2021? The Python community gave a warm

Deploying Django, Become the Next PSF Director, Ruby vs Python, and More

Tuesday, November 16, 2021

The PSF Is Searching for Its Next Executive Director #499 – NOVEMBER 16, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo The PSF Is Searching for Its Next Executive Director After announcing earlier

Custom Python for Banks, CLI Apps With Typer, Faster CPython, and More

Tuesday, November 9, 2021

An Oral History of Bank Python #498 – NOVEMBER 9, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo An Oral History of Bank Python Interesting read about the strange world of Python, as used by big

GIL News, "zipapp" Module in 3.5+, PSF Community Service Awards, and More

Tuesday, November 2, 2021

A Viable Solution for Python Concurrency #497 – NOVEMBER 2, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo A Viable Solution for Python Concurrency “The end result thus appears to be a GIL-removal

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your