Issue #449

Unravelling Nots, PyQt Layouts, New Pip Dependency Resolver, and More

Dec. 1, 2020

Unravelling Nots, PyQt Layouts, New Pip Dependency Resolver, and More
#449 – DECEMBER 1, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Unravelling not in Python
In the next blog post in his series about Python’s syntactic sugar, Brett Cannon tackles what would seem to be a very simple bit of syntax, but which actually requires diving into multiple layers to fully implement: not.
BRETT CANNON

How Python Manages Memory
Get ready for a deep dive into the internals of Python to understand how it handles memory management. By the end of this course, you’ll know more about low-level computing, understand how Python abstracts lower-level operations, and find out about Python’s internal memory management algorithms.
REAL PYTHON course

Python Developers Are in Demand on Vettery
Get discovered by top companies using Vettery to actively grow their tech teams with Python developers (like you). Here’s how it works: create a profile, name your salary, and connect with hiring managers at startups to Fortune 500 companies. Sign up today - it’s completely free for job-seekers →
VETTERYsponsor

PyQt Layouts: Create Professional-Looking GUI Applications
In this step-by-step tutorial, you’ll learn how to use PyQt layouts to arrange and manage the graphical components on your GUI applications. With the help of PyQt’s layout managers, you’ll be able to create polished and professional GUIs with minimal effort.
REAL PYTHON

Python Type Checking
What is type checking? Why do we need it? What’s the difference between static and runtime type checking?
JAN GIACOMELLI

Django Bugfix Release: 3.1.4
The π release!
DJANGO SOFTWARE FOUNDATION

pip 20.3 Is Out Featuring a New Dependency Resolver
PYTHON SOFTWARE FOUNDATION • Shared by Sumana Harihareswara


Discussions


Why Does Python Detect the Symbol “²” as a Digit?
TIL that .isdigit() works with superscripts
STACK OVERFLOW

Weird Scoping Behavior in Python
STACK OVERFLOW


Python Jobs


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

Python Developer / Software Engineer (Berlin, Germany)
THERMONDO GMBH

Application Support Engineer (Newark, NJ, USA)
ACCESS STAFFING

Senior Backend Engineer (Remote)
CONFIANT

More Python Jobs >>>


Articles & Tutorials


Building a Numerical Integration Tool in Python From Scratch
What do you do when you come a cross an integral that you know has a solution but can’t be solved with SciPy? Build your own numerical integration tool, of course!
KASPER MÜLLER

Teaching Python and Finding Resources for Students
One of the best ways to learn something well is to teach it. Kelly Schuster-Paredes and Sean Tibor teach middle school students how to code. On this episode Kelly and Sean talk about the art and science of teaching Python, as well as the learning resources they use with their students.
REAL PYTHON podcast

Use Distributed Tracing in Python Apps with OpenTelemetry
Join Ted Young in this hands-on code walkthrough covering OpenTelemetry installation and instrumentation in Python, and how to ensure your organization delivers the best value from distributed tracing →
LIGHTSTEPsponsor

The Unholy Way of Using Virtual Environments
If you’ve used virtual environments before, you may have created a venv/ folder inside the root directory of your project. This is standard, but has some downsides. Have you every thought about reversing this and putting your project inside your venv/ folder?
BHUPESH VARSHNEY • Shared by Bhupesh Varshney opinion

Writing iTerm2 Python Scripts
iTerm2 has a plugin system that allows you to write Python scripts that terminal programs can take advantage of. Learn how to do this by writing two fun scripts: on that automatically sets iTerm2 to dark mode and one that plays a sound in your terminal.
RYAN PATTERSON

np.linspace(): Create Evenly or Non-Evenly Spaced Arrays
In this tutorial, you’ll learn how to use NumPy’s np.linspace() effectively to create an evenly or non-evenly spaced range of numbers. You’ll explore several practical examples of the function’s many uses in numerical applications.
REAL PYTHON

Spend Less Time Debugging, and More Time Building with Scout APM
Scout APM uses tracing logic that ties bottlenecks to source code to give you the performance insights you need in less than 4 minutes! Start your free 14-day trial today and Scout will donate $5 to the OSS of your choice when you deploy.
SCOUT APMsponsor

Ruby on Rails vs. Django in 2020 and Beyond
Ruby on Rails and Django are two of the best and most popular web development frameworks out there. How do you choose the right one for your new project in 2020? Which should you choose for your new project?
CATALIN IONESCU • Shared by Catalin

Introducing FARM Stack: FastAPI, React, and MongoDB
There’s a new webdev stack in town: the FARM stack. It’s sort of like MERN because it uses React and MongoDB, but it replaces Node.js and Express with Python and FastAPI.
AARON BASSETT

Building a Pandoc Filter in Python That Turns CSV Data Into Formatted Tables
Learn how to create nicely formatted Markdown tables from CSV data using the powerful pandoc tool.
JOHN LEKBERG


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 →

traceback_with_variables: Adds Variables to Python Tracebacks
GITHUB.COM/ANDY-LANDY

Packet-Sniffer: A Pure-Python Network Packet Sniffing Tool
GITHUB.COM/EONRAIDER

vpype: The Swiss-Army-Knife Command-Line Tool for Vector Graphics
GITHUB.COM/ABEY79

Cyberbrain: Python Debugging, Redefined
GITHUB.COM/LAIKE9M • Shared by laike9m

Spylls: Pure Python Spell-Checker
GITHUB.COM/ZVEROK • Shared by Victor Shepelev

Microdic: High Performance Typed Hash Table Library for Python
GITHUB.COM/TOUQIR14 • Shared by Touqir Sajed

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) December 2, 2020

⋅ Pyjamas Conf 2020 (Online) December 5 to December 7, 2020

⋅ PyCode Conference 2020 (Online) December 11 to December 13, 2020
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.