Issue #457

Unravelling "for" Statements, Understanding Memory Crashes, Virtualenv Alternatives, and More

Jan. 26, 2021

Unravelling "for" Statements, Understanding Memory Crashes, Virtualenv Alternatives, and More
#457 – JANUARY 26, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Unravelling for Statements
Learn how Python’s for statement works behind the scenes by diving into the bytecode and CPython source code.
BRETT CANNON

You Don’t Really Need a Virtualenv
Virtual environments are a staple of the Python world, but they aren’t without their drawbacks. Learn why virtual environments aren’t always the right solutions and how to get around them without sacrificing dependency isolation.
FROST MING • Shared by Frost Ming

Tackle Architecture Issues on Your Complex Django Codebase
As a Python developer, you know how Django speeds-up product workflow. Still, even Django has its challenges as the codebase evolves. Over time, your team may end up with architecture and performance constraints. We’re a battle-proof consultancy ready to help. Request a free consulting meeting →
VINTA SOFTWAREsponsor

Dying, Fast and Slow: Out-Of-Memory Crashes in Python
Learn about the different ways that memory issues can manifest in your Python programs, and how you can debug and fix them.
ITAMAR TURNER-TRAURING

C for Python Programmers
In this tutorial, you’ll learn the basics of the C language, which is used in the source code for CPython, the most popular Python implementation. Learning C is important for Python programmers interested in contributing to CPython.
REAL PYTHON

Mypy 0.800 Released, Now with Python 3.9 Support
MYPY-LANG.BLOGSPOT.COM

pip 21.0 Released, Drops Support for Python 2
PYPA.IO


Discussions


What Are “Soft Keywords”?
Today I learned Python has two kinds of keywords!
STACK OVERFLOW


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Advanced Python Engineer
RESEARCH AFFILIATES 📍 NEWPORT BEACH, CA, USA

Entry-Level Engineering Programme
TESSIAN 📍 LONDON, UK

Senior Backend Engineer
TESSIAN 📍 LONDON, UK

Backend Engineer
TESSIAN 📍 LONDON, UK

More Python Jobs >>>


Articles & Tutorials


Creating an Interactive Online Python Conference for PyCascades 2021
How do you create a virtual conference that retains the interactivity of an in-person event? What are the tools needed for talk submissions, ticketing, and live hosting? Can you find those tools written in Python?
REAL PYTHON podcast

Using Environment Variables in Python for App Configuration
Learn how to use environment variables to configure your Python applications. You’ll see why using environment variables makes sense, as well as how to read, write, and delete environment variables using Python.
RYAN BLUNDEN • Shared by Ryan Blunden

10 Python Security Best Practices (Cheat Sheet)
Learn how to avoid malicious packages in PyPI, fix common Python vulnerabilities, and more.
SNYK.IOsponsor

Which Django Version Should I Use?
When you’re starting a new Django project, which version of Django should you use? In this short opinion piece, Matt Layman lays out an argument for always starting with the latest version.
MATT LAYMAN opinion

Evaluate Expressions Dynamically With Python eval()
Learn how Python’s eval() works and how to use it effectively in your programs. Additionally, you’ll learn how to minimize the security risks associated with the use of eval().
REAL PYTHON course

Classical Aerodynamics With Python
This open-source series of lectures walks you through understanding classical aerodynamics and presents computations with Python in Jupyter Notebooks.
LORENA BARBA AND OLIVIER MESNARD

CPython Internals: Your Guide to the Python 3 Interpreter (Launch Discount – Save 45%)
Unlock the inner workings of the Python language, compile the Python interpreter from source code, and participate in the development of CPython. The new “CPython Internals” book shows you exactly how. Claim your launch discount until Thursday night →
ANTHONY SHAW sponsor

Using Python & Pandas Datareader to Analyze Financial Data
Learn how to use the pandas-datareader package to do statistical analysis on financial data by comparing volatility in the S&P 500 to the Nasdaq.
OLIVIA JOHNSON

Getting Started With the Raspberry Pi Pico Using MicroPython and C
Learn how to set-up the new Raspberry Pi Pico and get up and running with a program that blinks an LED using MicroPython and C.
JEAN-LUC AUFRANC

How to Use Python: Your First Steps
Learn the basics of how to use Python. With this knowledge, you’ll be able to start coding your Python applications.
REAL PYTHON

The Quick Start Guide to Plotting Histograms in Seaborn
Get a quick introduction to plotting histograms with the Seaborn package.
BEN COOK • Shared by Ben Cook


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 →

visdom: Flexible Tool for Creating, Organizing, and Sharing Visualizations of Live, Rich Data
GITHUB.COM/FOSSASIA

python-diskcache: Django-Compatible Python Disk-Backed Cache
GITHUB.COM/GRANTJENKS

paperetl: ETL Processes for Medical and Scientific Papers
GITHUB.COM/NEUML

colorpedia: Command-Line Tool for Looking Up Colors, Shades and Palettes
GITHUB.COM/JOOWANI

pandas-datareader: Extract Data From a Wide Range of Internet Sources Into a Pandas DataFrame
GITHUB.COM/PYDATA

📆🐍 Upcoming Python Events


Real Python Office Hours (Virtual)
January 27, 2020

BelPy
January 30 – 31, 2021

PyCascades 2021 (Virtual)
February 19 – 21, 2021

PyCon 2021 (Virtual)
May 12 – 18, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.