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

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 12/23/2024

Monday, December 23, 2024

New blogs from Syncfusion Introducing the New WinUI Kanban Board By Karthick Mani This blog explains the features of the new Syncfusion WinUI Kanban Board control introduced in the 2024 Volume 4

Import AI 395: AI and energy demand; distributed training via DeMo; and Phi-4

Monday, December 23, 2024

What might fighting for freedom in an AI age look like? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

LockBit Ransomware Developer Charged for Billions in Global Damages

Monday, December 23, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Re: How to know if your data has been exposed

Monday, December 23, 2024

Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action immediately. Surfshark Alert does just that. It helps you stay

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an