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

a16z’s Infrastructure team gets a new general partner

Friday, April 19, 2024

Post News is shutting down and Wall Street isn't feeling a Salesforce-Informatica pairing View this email online in your browser By Christine Hall Friday, April 19, 2024 Image Credits: Andreessen

New Roundtable! Additive for Mass Production Applications

Friday, April 19, 2024

The Outlook for the Future View this email in your browser engineering.com Roundtable - Additive for Mass Production Applications: The Outlook for the Future 6 Considerations for Choosing the Right

📷 What to Know About Macro Photography — Why You Should Buy a Budget Motherboard

Friday, April 19, 2024

Also: How to Automatically Highlight Values in Excel, and More! How-To Geek Logo April 19, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Is the wind going out of the AI sails?

Friday, April 19, 2024

Rippling vacuums up venture capital and Ramp bags more millions View this email online in your browser By Haje Jan Kamps Friday, April 19, 2024 Image Credits: Getty Images / Carol Yepes Welcome to

Llama 3 is out - Weekly News Roundup - Issue #463

Friday, April 19, 2024

Plus: brand-new, all-electric Atlas; AI Index Report 2024; Microsoft pitched GenAI tools to US military; Humane AI Pin reviews are in; debunking Devin; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Daily Coding Problem: Problem #1417 [Easy]

Friday, April 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Wayfair. You are given a 2 x N board, and instructed to completely cover the board with

Charted | How Hard Is It to Get Into an Ivy League School? 🎓

Friday, April 19, 2024

We detail the admission rates and average annual cost for Ivy League schools, as well as the median SAT scores required to be accepted. View Online | Subscribe Presented by: Discover the motivations

Dark Matter & Tortured Poets

Friday, April 19, 2024

New music releases aren't what they used to be -- for good and bad. Dark Matter & Tortured Poets By MG Siegler • 19 Apr 2024 View in browser View in browser New music releases in 2024 are a

Impact of AI on Product Management

Friday, April 19, 2024

​ Impact of AI on Product Management The rise of the AI Product Manager. Product managers have always championed customer's needs. However, with AI, the job requires new technical and ethical

⚙️ Zuck has entered the chat(bot)

Friday, April 19, 2024

Plus: AI video's coming to mobile! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌