#542 – SEPTEMBER 13, 2022
List Comprehensions Are More Powerful Than You Think
List comprehensions have a lot of depth. This article takes you beyond the basics and explains nested comprehensions, multiple conditionals, exceptions, breaking the loop, and more.
MARTIN HEINZ • Shared by Martin Heinz
Can Amazon’s CodeWhisperer Write Better Python Than You?
Amazon’s CodeWhisperer is a machine-learning based coding assistant which is currently in beta. Learn about its capabilities and limitations.
BRIAN TARBOX • Shared by Adam Buggia
Try atoti, A Free Collaborative Python BI Analytics Platform
atoti is a BI analytics platform combining a python library and a web application helping Quants, Data Analyst, Data Scientist and Business Users to collaborate, analyze and translate their data into business KPIs →
Possible DoS Exposure in Large
“A Denial Of Service (DoS) issue was identified in CPython because we use binary bignum’s for our
int implementation. A huge integer will always consume a near-quadratic amount of CPU time in conversion to or from a base 10 (decimal) string with a large number of digits. No efficient algorithm exists to do otherwise.”
Django Bugfix Release: 4.1.1
DJANGO SOFTWARE FOUNDATION
Python 3.10.7, 3.9.14, 3.8.14, and 3.7.14 Released
CPYTHON DEV BLOG
TensorFlow 2.10 Released
PyPI Is Running a Survey on the State of Python Packaging
PyPI is running a survey on the state of packaging in Python. Fill in the survey and tell the world what you told them in the HN discussion.
PIP_REQUIRE_VIRTUALENV Be the Default in
Senior Software Engineer Backend (USA)
Senior Backend Engineer (Anywhere)
Django Developer (USA)
Python Developer (Anywhere)
SIGMA Assessment Systems, Inc.
Senior Software Engineer, Python (Backend) (Anywhere)
Software Development Lead (Ann Arbor, MI, USA)
University of Michigan
Software Engineer – Backend/Python (100% Remote) (Anywhere)
Software Engineer (Los Angeles or Dallas) (Los Angeles, CA, USA)
Causeway Capital Management LLC
Enterprise GIS Data Engineer (Information Systems Analyst) (San Jose, CA, USA)
City of San Jose
More Python Jobs >>>
Articles & Tutorials
HTML and CSS for Python Developers
There’s no way around HTML and CSS when you want to build web apps. Even if you’re not aiming to become a web developer, knowing the basics of HTML and CSS will help you understand the web better. In this tutorial, you’ll get an introduction to HTML and CSS for Python programmers.
Recursion in Python With Al Sweigart
Have you wanted to understand recursion and how to use it in Python? Are you familiar with the call stack and how it relates to tracebacks? This week on the show, Al Sweigart talks about his new book, “The Recursive Book of Recursion.”
REAL PYTHON podcast
Scout APM: A Python Performance Monitoring Tool
Scout’s APM tool pinpoints and prioritizes performance and stability issues in Python applications. With Scout’s tracing logic, developers can detect the exact line of code causing the performance abnormality, and with detailed backtraces, you can fix the issue before customers ever notice →
SCOUT APM sponsor
Bluetooth Your Old Speakers With a Raspberry Pi
This article describes how to take an old pair of PC speakers and make them usable with Bluetooth. Learn about the
PipeWire library, how to configure your Raspberry Pi, and the short Python script you need to glue it all together.
The Jupyter+git Problem Is Now Solved
Git and Jupyter just don’t get along. Merge conflicts break things, but not anymore. The
nbdev2 package provides tools to allow merges in your Jupyter notebook. This article explains the problem and how it was addressed.
A light introduction to the Python pickle protocol, the Pickle Machine, and constructing malicious pickles. Learn why your code shouldn’t trust arbitrary serialized objects and the dangers of pickle-bombs.
Swift Was Poised to Replace Python. Then It Tanked
In the early days of Swift, its growth was matching that of Python, but then it leveled out. In this opinion piece, Ari discusses why he thinks Python is still going strong and why Swift is falling away.
CData Software: The Easiest Way to Connect Python with Data
Simple Python data access to more than 250 cloud applications, and data sources. Connect, Integrate, and Automate your data from Python, or any other application or tool.
CDATA SOFTWARE sponsor
Fully-Typed Decorators With Optional Arguments
Type annotation for decorators can be a bit more challenging than regular functions, especially if they support optional keyword arguments. Learn how to type them so that they pass mypy’s strict mode.
LEMONFOLD.IO • Shared by Stefan Ulbrich
Building Command Line Interfaces With
In this step-by-step Python video course, you’ll learn how to take your command line Python scripts to the next level by adding a convenient command line interface that you can write with argparse.
REAL PYTHON course
Projects & Code
django-functest: Helpers for Functional Tests in Django
Visual Python Tkinter GUI Creator
django-htmx-patterns: Coding Patterns for Django & HTMX
docquery: Extract Information From Documents
Python Conference Calendar With Proposal Deadlines
PYTHONDEADLIN.ES • Shared by Geir Arne Hjelle
September 12 to September 17, 2022
Hybrid Panel: CI Tools We Use at IndyPy
September 13 from 7-9pm ET
MEETINGPLACE.IO • Shared by Laura Stephens (Six Feet Up)
Santa Cruz Python Meetup
September 14, 2022
Weekly Real Python Office Hours Q&A (Virtual)
September 14, 2022
September 15, 2022
September 15, 2022
September 15 to September 16, 2022
PyCon UK 2022
September 16 to September 19, 2022
This was PyCoder’s Weekly Issue #542.
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 ]