Augmented Assignments, Python Data Structures, Dependency Injection, and More

#436 – SEPTEMBER 1, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Unravelling Augmented Arithmetic Assignment
Augmented arithmetic assignment happen whenever you do a bit of arithmetic while also assigning a value, such as a += 1. Learn how this assignment works under the hood and how the discovery of a bug in Python lead to the conclusion that most people never use the **= operator.
BRETT CANNON

Common Python Data Structures (Guide)
In this tutorial, you’ll learn about Python’s data structures. You’ll look at several implementations of abstract data types and learn which implementations are best for your specific use cases.
REAL PYTHON

Find Performance Bottlenecks in Python Code
Donald Knuth said: “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.” Blackfire is built to let you find the 3%. Quick install, appealing and user-friendly UI →
BLACKFIREsponsor

Python Dependency Injection
Learn how to use dependency injection to write loosely-coupled yet highly-cohesive code.
JAN GIACOMELLI • Shared by Jan Giacomelli

Writing More Idiomatic and Pythonic Code
Learn some of the idioms and conventions that can make your Python code more readable, effective, concise and reliable.
MARTIN HEINZ • Shared by Martin Heinz

Real Python Office Hours
The Real Python Office Hours is a weekly hangout where members of Real Python get the chance to interact with each other as well as Real Python authors and video course instructors. Join us live on Wednesday mornings!
REAL PYTHON

Django Security Releases Issued: 3.1.1, 3.0.10 and 2.2.16
DJANGO SOFTWARE FOUNDATION


Discussions


Python 3.8 f-Strings Support = for Self-Documenting Expressions and Debugging
REDDIT

Snake Game in a Single Line of Python
That’s a.... creative one-liner!
REDDIT


Python Jobs


Senior Backend Software Engineer (Los Angeles, CA, USA)
TATARI, INC.

Advanced Python Engineer (Newport Beach, CA, USA)
RESEARCH AFFILIATES LLC

Software Engineer (San Diego County, CA, USA)
1POINT21 INTERACTIVE

Python Flask Developer (Remote)
CYBERCODERS

More Python Jobs >>>


Articles & Tutorials


The Real Python Podcast – Episode #24: Options for Packaging Your Python Application: Wheels, Docker, and More
Have you wondered, how should I package my Python code? You’ve written the application, but now you need to distribute it to the machines it’s intended to run on. It depends on what the code is, the libraries it depends on, and with whom do you want to share it. This week on the show we have Itamar Turner-Trauring, creator of the website pythonspeed.com. We discuss his article “Options for Packaging Your Python Code: Wheels, Conda, Docker, and More,” covering the how of sharing your code.
REAL PYTHON podcast

Why is Nobody Talking about Pandas NamedAgg?
The as keyword from SQL is a wonderful one. You can create a complex function on a database column, and then give it an explicit name. This name can be used later in the pipeline as a reference. pandas, even though superior to SQL in most ways, really lacked this until fairly recently. Not anymore…
DEAN LANGSAM • Shared by Dean Langsam

CockroachDB: Scalable, Distributed PostgreSQL
Never shard a Postgres instance again. Meet CockroachDB, the Distributed SQL database that’s naturally resilient and provides out-of-the-box scalability. Compatible with your favorite Python ORMs, including Django, PonyORM, and SQLAlchemy →
COCKROACH LABSsponsor

Introducing Constrained Optimization Through Two Simple Examples
Optimization algorithms are the backbone of machine learning and deep learning. Get your hands dirty by solving two classic numerical problems. You’ll learn how to translate an abstract problem into Python code, as well as how to implement a couple of optimization algorithms.
ROHAN-KEKATPURE.GITHUB.IO • Shared by Rohan D. Kekatpure

Editing Excel Spreadsheets in Python With openpyxl
In this course, you’ll learn how to handle spreadsheets in Python using the openpyxl package. You’ll learn how to manipulate Excel spreadsheets, extract information from spreadsheets, create simple or more complex spreadsheets, including adding styles, charts, and so on.
REAL PYTHON course

How to Turn an Ordinary gzip Archive Into a Database
If you have a large CSV file, you might use gzip to compress the file when you are storing it. But here’s a thought: why not compress each row of the file and concatenate them into a database of smaller files? Learn how and why you might want to do this.
ARTEM GOLUBIN • Shared by Artem Golubin

Django Redirects
In this course, you’ll learn everything you need to know about HTTP redirects in Django. All the way from the low-level details of the HTTP protocol to the high-level way of dealing with them in Django.
REAL PYTHON course

DataCamp Offers Free Unlimited Access
Don’t wait to hone your data skills and future-proof your career. Through September 9, anyone anywhere can enjoy everything DataCamp has to offer—unlimited courses, tracks, skill assessments, and more for free.
DATACAMPsponsor

5 Pairs of Magic Methods in Python That You Should Know
Magic, or “dunder,” methods are an important part of creating custom classes in Python. Learn about some commonly used magic methods by exploring hem in pairs that are frequently used together.
YONG CUI

Build Your Own Flight Tracking Application With Python and Open Air Traffic Data
Learn how to use open air traffic data to plot aircraft positions on a map and build an interactive web application using the Bokeh plotting framework.
GEOMATICS


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 →

pippi: Computer Music With Python
GITHUB.COM/LUVSOUND

gzipi: Tools for Indexing Gzip Files to Support Random-Like Access
GITHUB.COM/PROFOUNDNETWORKS

DearPyGui: A GPU Accelerated Python GUI Framework
GITHUB.COM/HOFFSTADT

django-newsfeed: A News-Curator and News Subscription Package for Django
GITHUB.COM/SAADMK11 • Shared by Maksudul Haque

hickory: Hickory, Dickory, Dock… Python scheduling at the command line!
GITHUB.COM/MAXHUMBER • Shared by Max Humber

📆🐍 Upcoming Python Events


⋅ Beginner Python Study Group September 9, 2020

⋅ PyCon Taiwan 2020 September 5 to September 7, 2020
Happy Pythoning!
Copyright © 2020 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

Data Version Control, Python In Your Downloads, Common Packaging Mistakes, and More

Tuesday, August 25, 2020

Data Version Control With Python and DVC #435 – AUGUST 25, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Data Version Control With Python and DVC In this tutorial, you'll learn to use DVC, a

Async Django, Web Scraping, Data API Standards, and More

Tuesday, August 18, 2020

Async Views in Django 3.1 #434 – AUGUST 18, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Async Views in Django 3.1 Django 3.1 introduced support for asynchronous views, middleware, and tests.

Python Wheels, Django Opinions, How To Rename a Project, and More

Tuesday, August 11, 2020

What Are Python Wheels and Why Should You Care? #433 – AUGUST 11, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo What Are Python Wheels and Why Should You Care? In this tutorial, you'll learn

Missing Python Features, Django Admin Customization, New pip Released, and More

Tuesday, August 4, 2020

4 Powerful Features Python Is Still Missing #432 – AUGUST 4, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo 4 Powerful Features Python Is Still Missing Python doesn't have true constants, nor

Sparking Joy, Favorite Packages, the Last Python 3.9 Beta, and More

Tuesday, July 28, 2020

Python Packages: Five Real Python Favorites #431 – JULY 28, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Python Packages: Five Real Python Favorites In this tutorial, several Real Python authors

You Might Also Like

⚙️ GPT 4.5 - worth the cost?

Friday, February 28, 2025

Plus: Nvidia didn't come to the rescue ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

ASP.NET Core News - 02/28/2025

Friday, February 28, 2025

View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! ASP.NET Core updates in .NET 10 Preview 1 — by danroth27 .NET Aspire 9.1 is here with six great new

SWLW #640: The burdens of data, Creating a sense of stability, and more.

Friday, February 28, 2025

Weekly articles & videos about people, culture and leadership: everything you need to design the org that makes the product. A weekly newsletter by Oren Ellenbogen with the best content I found

12,000+ API Keys and Passwords Found in Public Datasets Used for LLM Training

Friday, February 28, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ The Anatomy of a Ransomware Attack Watch a Live Ransomware Attack Demo, Uncover Hacker Tactics and Learn to Defend Download Now Sponsored LATEST NEWS

The Sequence Research #500: Making Small Models Great Achieve GPT-o1 Levels in Math Reasoning with Microsoft rStar…

Friday, February 28, 2025

The new method represents an important evolution of reasoning for SLMs. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🎧 The Perfect AirPods Alternative for Android — Features I Wish Netflix Would Copy From YouTube

Friday, February 28, 2025

Also: Are Ryobi Power Tools at Home Depot Worth Buying? and More! How-To Geek Logo February 28, 2025 Did You Know The crew of Apollo 11 took two tiny pieces of the Wright "Kitty Hawk" Flyer,

Meta Is Unbundling... Again

Friday, February 28, 2025

The strategy behind the stand-alone apps for Reels and Meta AI... Meta Is Unbundling... Again The strategy behind the stand-alone apps for Reels and Meta AI... By MG Siegler • 28 Feb 2025 View in

📧 Did you watch the FREE chapter of Pragmatic REST APIs?

Friday, February 28, 2025

​ Hey, it's Milan. 👋 The weekend is almost upon us. So, if you're up for some quality learning, consider watching the free chapter of Pragmatic REST APIs. Scroll down to the curriculum or click

Data Science Weekly - Issue 588

Thursday, February 27, 2025

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

💎 Issue 458 - Why Ruby on Rails still matters

Thursday, February 27, 2025

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 458 Release Date Feb 27, 2025 Your weekly report of the most popular Ruby news, articles and