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

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power

The Stanford Grad Who Forgot How To Think

Tuesday, December 24, 2024

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, December 24, 2024? The

The next big HDMI leap is coming

Tuesday, December 24, 2024

Sora side hustles; Casio's tiny watch comes to the US -- ZDNET ZDNET Tech Today - US December 24, 2024 Ecovacs Deebot T30S Combo robot vacuum and mop The next big HDMI leap is coming next month -

⚙️ Robo-suits

Tuesday, December 24, 2024

Plus: The data center energy surge ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Apache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE Attacks

Tuesday, December 24, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Edge 459: Quantization Plus Distillation

Tuesday, December 24, 2024

Some insights into quantized distillation ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏