List Comprehensions, CodeWhisperer, DoS Exposure, and More

#542 – SEPTEMBER 13, 2022 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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 →
ACTIVEVIAMsponsor

Possible DoS Exposure in Large int to str Conversions
“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.”
GITHUB.COM/PYTHON

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
TENSORFLOW.ORG


Discussions


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.
HACKER NEWS

Should PIP_REQUIRE_VIRTUALENV Be the Default in pip?
PYTHON.ORG


Python Jobs


Senior Software Engineer Backend
MUCK RACK 📍 USA

Senior Backend Engineer
DOIST 📍 ANYWHERE

Django Developer
ABNORMAL SECURITY 📍 USA

Python Developer
SIGMA ASSESSMENT SYSTEMS, INC. 📍 ANYWHERE

Senior Software Engineer, Python (Backend)
ASSEMBLYAI 📍 ANYWHERE

Software Development Lead
UNIVERSITY OF MICHIGAN 📍 ANN ARBOR, MI, USA

Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE

Software Engineer (Los Angeles or Dallas)
CAUSEWAY CAPITAL MANAGEMENT LLC 📍 LOS ANGELES, CA, USA

Enterprise GIS Data Engineer (Information Systems Analyst)
CITY OF SAN JOSE 📍 SAN JOSE, CA, USA

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.
REAL PYTHON

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 APMsponsor

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.
FREDERIC DANIS

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.
JEREMY HOWARD

Dangerous Pickles
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.
EVAN SANGALINE

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.
ARI JOURY

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 SOFTWAREsponsor

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 argparse
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


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 →

django-functest: Helpers for Functional Tests in Django
GITHUB.COM/DJANGO-FUNCTEST

Visual Python Tkinter GUI Creator
VISUALTK.COM

django-htmx-patterns: Coding Patterns for Django & HTMX
GITHUB.COM/SPOOKYLUKEY

docquery: Extract Information From Documents
GITHUB.COM/IMPIRA

Python Conference Calendar With Proposal Deadlines
PYTHONDEADLIN.ES • Shared by Geir Arne Hjelle

📆🐍 Upcoming Python Events


PyHEP 2022
September 12 to September 17, 2022

Hybrid Panel: CI Tools We Use at IndyPy
September 13 from 7-9pm ET

Santa Cruz Python Meetup
September 14, 2022

Weekly Real Python Office Hours Q&A (Virtual)
September 14, 2022

Python Northwest
September 15, 2022

PyLadies Dublin
September 15, 2022

MadPUG
September 15 to September 16, 2022

PyCon UK 2022
September 16 to September 19, 2022
Happy Pythoning!
Copyright © 2022 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

Writing Code Completers, String Methods, Dragon Fractals, and More

Tuesday, September 6, 2022

Creating a Python Code Completer & More AST Projects #541 – SEPTEMBER 6, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Creating a Python Code Completer & More AST Projects How does a code

Build a URL Shortener With FastAPI, Pythonic Mobile Apps, Mypy at Scale, and More

Tuesday, August 30, 2022

Building a URL Shortener With FastAPI and Python #540 – AUGUST 30, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Building a URL Shortener With FastAPI and Python In this video course, you'll

Python async on the Web, GitHub Copilot, PyTorch Snake, and More

Tuesday, August 23, 2022

Understanding `async` Python for the Web #539 – AUGUST 23, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Understanding async Python for the Web “Recently Django 4.1 was released, and the thing

NLP Forward, Python Unstoppable, Auditing in Pip, and More

Tuesday, August 16, 2022

NLP Forward With Transformer Models and Attention #538 – AUGUST 16, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo NLP Forward With Transformer Models and Attention What's the big breakthrough

Finding & Fixing Python Bugs, Uncommon Usage, NBA Highlights, and More

Tuesday, August 9, 2022

Finding and Fixing Python Code Bugs #537 – AUGUST 9, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Finding and Fixing Python Code Bugs Learn how to identify and fix logic errors, or bugs, in your

You Might Also Like

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

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many