Issue #441

Python 3.9 Released, Rich Comparisons, Streamlit Games, and More

Oct. 6, 2020

Python 3.9 Released, Rich Comparisons, Streamlit Games, and More
#441 – OCTOBER 6, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Cool New Features in Python 3.9
In this course, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.
REAL PYTHON course

Build a Face Recognition System With the Nvidia Jetson Nano 2GB and Python
The Nvidia Jetson Nano is a single board computer similar to a Raspberry Pi. The Jetson Nano really packs a punch, however, thanks to its onboard Nvidia Maxwell GPU.
ADAM GEITGEY

Build Auto-Scaling Python Apps With CockroachDB
Never shard a Postgres instance again. CockroachDB is an open-source, scalable, and indestructible SQL database that’s compatible with your favorite Python ORMs, including Django, PonyORM, and SQLAlchemy →
COCKROACH LABSsponsor

Unravelling Rich Comparison Operators
In another installment of his “Unravelling” series, Brett Cannon takes a deep dive into rich comparison operators.
BRETT CANNON

The Magic of Python Context Managers
Learn the ins and outs of context managers, including some recipes that will make your code more readable, reliable, and less error prone
TOWARDSDATASCIENCE.COM • Shared by Martin Heinz

Creating Games in Streamlit
Streamlit is a platform used to quickly create data apps. So, why not use it to make games?
JOEL GRUS

Python Insider: Python 3.9.0 Is Now Available, and You Can Already Test 3.10.0a1!
CPYTHON DEV BLOG

Poetry 1.1.0 Released
PYTHON-POETRY.ORG

Join the Python Developers Survey 2020
PYTHON SOFTWARE FOUNDATION

Farewell, Python 3.5
PYTHON.ORG

Python Basics: A Practical Introduction to Python 3.9
With Python Basics you’ll go from beginner to intermediate Python knowledge with a clear, concise, and practical curriculum. Get a 27% launch discount until Thursday night →
REAL PYTHONsponsor


Discussions


Why Isn’t Cython More Popular?
REDDIT

Not All Floats Between 0 and 1 Are Possible Return Values From random()
RAYMOND HETTINGER


Python Jobs


Software Engineer
1POINT21 INTERACTIVE 📍 SAN DIEGO COUNTY, CA, USA

Data Scientist
KELLY SERVICES 📍 JOHNSTON, IA, USA

Software Developer Lead
PNC FINANCIAL SERVICES GROUP 📍 REMOTE

Python/React Engineer
OTTERBASE - TN 📍 REMOTE

More Python Jobs >>>


Articles & Tutorials


Python 3.9: Cool New Features for You to Try
In this article, you’ll explore some of the coolest and most useful features in the newly released Python 3.9. You’ll learn how Python 3.9 makes it easier to work with time zones, dictionaries, decorators, and several other techniques that will make your code cleaner and more efficient.
REAL PYTHON

Resolving Package Dependencies With the New Version of Pip
If you use Python, then you probably have used pip to install additional packages from the Python package index. Part of the magic behind pip is the dependency resolver, and there is a new version of it in the latest version of pip. This week on the show, we have Sumana Harihareswara and Georgia Bullen, who have been working on the recent releases of pip. Sumana is the project manager for pip, and Georgia has been working on pip’s user experience (UX).
REAL PYTHON podcast

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 lets you find the 3%. Supports all Python versions. Quick install & appealing UI →
BLACKFIREsponsor

100+ Python and Data Science Projects for Every Kind of Programmer
A huge list of project ideas to inspire your imagination!
THE CODEX TEAM

Solving the Equilibrium Index Problem in Python
Given an array of numbers, the equilibrium index problem requires you to find the index, if one exists, where the sum of every number to the left of the index is equal to the sum of every number to the right of the index. Try and come up with your own solution before checking out the article!
JOHN LEKBERG

Learn To Secure Your Python Apps at SnykCon 2020
A free, multi-track virtual event. Learn from leading security engineers and developers in hands-on technical sessions so you can work with your team to avoid malicious attacks and deliver secure code.
SNYK.IOsponsor

Python’s map(): Processing Iterables Without a Loop
In this step-by-step tutorial, you’ll learn how Python’s map() works and how to use it effectively in your programs. You’ll also learn how to use list comprehension and generator expressions to replace map() in a Pythonic and efficient way.
REAL PYTHON

Watchman: Monitoring Dependency Conflicts for Python Library Ecosystem
Dependency management is hard. Learn what sort of problems exist in Python and how you can find and report, and even predict dependency conflicts with Watchman.
ADRIAN COYLER • Shared by Alex Mitelman

Hijack To Help Customers
When customers report their thorniest problems and all of your diagnostic tools have failed you, how can you help? Learn how to swoop in and save the day with some help from django-hijack.
MATTLAYMAN.COM • Shared by Matt Layman

Announcing Playwright for Python: Reliable End-To-End Testing for the Web
Writing cross-browser end-to-end tests for web applications isn’t always easy. Playwright, a new open source tool from Microsoft, aims to fix that.
ARJUN ATTAM

Django Stripe Subscriptions
Learn how to handle payments in your Django project using Stripe.
NIK TOMAZIC • Shared by Michael Herman


Projects & Code


checkov: Prevent Cloud Misconfigurations During Build-Time
GITHUB.COM/BRIDGECREWIO

football: Reinforcement Learning Environment Where Agents Learn to Play Football
GITHUB.COM/GOOGLE-RESEARCH

qlib: AI-oriented Quantitative Investment Platform
GITHUB.COM/MICROSOFT

django-hijack: Log in and Work on Behalf of Other Users
GITHUB.COM/ARTERIA

waybackpy: A Python Library & CLI for the Internet Archive’s Wayback Machine API
GITHUB.COM/AKAMHY

playwright-python: Python Version of the Playwright Testing and Automation Library
GITHUB.COM/MICROSOFT

stacksort: Sort a List by Blindly Executing Code From StackOverflow. Inspired by XKCD Ineffective Sorts.
GITHUB.COM/BUCKLEY-W-DAVID

checksec.py: Checksec Tool in Python
GITHUB.COM/WENZEL

📆🐍 Upcoming Python Events


PyCon Estonia 2020 (Virtual)
October 8 to October 9, 2020
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.