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

Why your startup needs a prenup

Friday, October 7, 2022

TechCrunch+ Newsletter TechCrunch+ logo TechCrunch+ Roundup logo By Walter Thompson Friday, October 07, 2022 Welcome to TechCrunch+ Friday Image Credits: skodonnell / Getty Images In the early days of

iOS Dev Weekly - Issue 579

Friday, October 7, 2022

The question of what technologies to use has no definitive answer! 🎲🤷‍♂️ View on the Web Archives ISSUE 579 October 7th 2022 Comment Why do I link to Alexandre Colucci's articles reporting on

Daily Coding Problem: Problem #898 [Easy]

Friday, October 7, 2022

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Implement a stack API using only a heap. A stack implements the following

Wireless Apple CarPlay? How to add it to your car

Friday, October 7, 2022

Managers can't agree on who to hire; QuietComfort Earbuds II review -- ZDNET ZDNET Tech Today - US October 7, 2022 placeholder How to add wireless Apple CarPlay to your car Wired connections are a

Issue #457: 3D Diffusion vs GET3D, acid traces, and Tranquility

Friday, October 7, 2022

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

🔎 What PMs should know about Product Marketing

Friday, October 7, 2022

Product Marketing - what product managers should know Do you think all you need to know about product marketing is “it's that stuff those product marketing managers do”? While product marketing may

Ranked | The World’s Most Surveilled Cities 📹

Friday, October 7, 2022

The world's most surveilled cities contain hundreds of thousands of cameras. See where these cities are located in this infographic. View Online | Subscribe Presented by: Special Report Now

Google Is Not Apple, and It Should Stop Trying to Be

Friday, October 7, 2022

Did You Know?: Dale Carnegie, most famous for the book How to Win Friends and Influence People, changed his last name from “Carnagey” to “Carnegie” in honor of the steel magnate, Andrew Carnegie, and

Join TechCrunch Live with Casa Verde Capital and Dutchie

Friday, October 7, 2022

TechCrunch Live - Wed, Oct 12 - 11:30am PDT TechCrunch Live on Oct 12 How Dutchie raised half a billion for cannabis tech Ross Lipson co-founded Dutchie in 2017 and has since led the company to a multi

Prepare your Android Project for Android Gradle plugin 8.0 API changes

Friday, October 7, 2022

View in browser 🔖 Articles Prepare your Android Project for Android Gradle plugin 8.0 API changes This article walks you through transitioning off the Transform APIs, whether you're working on a