Issue #429

Return of the print Statement, 13 Python Project Ideas, How PyPy Works, and More

July 14, 2020

Return of the print Statement, 13 Python Project Ideas, How PyPy Works, and More
#429 – JULY 14, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
The (Non-)Return of the Python Print Statement
Guido van Rossum recently proposed re-introducing the Python print statement. He was completely serious and even though the idea didn’t gain traction, it’s interesting to know why he made the proposal.
JAKE EDGE

Grow Your Python Portfolio With 13 Intermediate Project Ideas
Get started on 13 Python project ideas that are just right for intermediate Python developers. They’ll challenge you enough to help you become a better Pythonista but will still be doable!
REAL PYTHON course

Scout APM Now Available for Python! Find Performance Issues Fast
Scout’s intuitive UI helps you quickly track down issues so you can get back to building your product. Rest easy knowing that Scout is tracking performance and hunting down issues before they affect customer experience. Get started for free. →
SCOUT APMsponsor

A Beginner’s Guide to Robot Programming With Python
Get a crash course in programming autonomous robots with Python. Don’t have a robot laying around? No problem! Use this open-source simulator to get started.
NICK MCCREA

How JIT Compilers Are Implemented and Fast: PyPy, LuaJIT, Graal and More
Have you ever wondered how JIT compilers like PyPy work? Learn the basics by looking at a number of JITs including PyPy, LuaJIT, and Graal.
CAROL CHEN

Hashing It Out
Take a deep dive into Python dictionaries by looking at four problems and considering their solutions.
AKSHAY RAVIKUMAR

Python import: Advanced Techniques and Tips
The Python import system is as powerful as it is useful. In this in-depth tutorial, you’ll learn how to harness this power to improve the structure and maintainability of your code.
REAL PYTHON

Python Malware on the Rise
Python’s low barrier to entry, enormous ecosystem, and rapid development process has made it one of he most desired programming languages for millions of developers around he globe—including malicious actors. Read the article at the link above and follow the discussion on Hacker News.
AUSTIN JACKSON

Zero-Day Vulnerability in Python Versions 3.8.0 to 3.8.3 Causes Hash Collisions and Leads to DoS
VIJAY PRABHU

Python 3.8.4 Is Now Abailable
PYTHON.ORG

Pytest 6.0.0rc1 Released
TWITTER.COM/NICODDEMUS


Discussions


Shout Out to All the Mediocre Data Scientists Out There
Even if you don’t have a Ph.D. and don’t work at a FAANG company, you still deserve some appreciation!
REDDIT

How Does % Work With Decimals for Instance Why Is 10 % 2.2 Not Equal to 1.2
REDDIT


Python Jobs


Senior Backend Developer (San Francisco, CA, USA)
DUMPLING

Python Tutorial Authors Wanted (Remote)
REAL PYTHON

Quantitative Analyst (Washington, DC, USA)
CONVERGENZ

Senior Python Engineer (Atlanta, GA, USA)
CYBERCODERS

More Python Jobs >>>


Articles & Tutorials


Too Many Objects: Reducing Memory Overhead From Python Instances
Every Python object has a little bit of memory overhead, and that overhead can really add up if you need to create a huge number of instances. Find out where this overhead comes from and some strategies for reducing memory usage.
ITAMAR TURNER-TRAURING

Learn IP Address Concepts With Python’s ipaddress Module
In this step-by-step tutorial, you’ll learn how to inspect and manipulate IP addresses as Python objects with Python’s ipaddress module, improving your understanding of IP address mechanics and patterns used by the module.
REAL PYTHON

Want To Level-Up Your Python Skills?
Write better code, debug faster, and become more productive with PyCharm, a tightly integrated IDE that understands your code and provides a complete set of tools to help you make it better. Try PyCharm now and code like a pro! Free trial. →
JETBRAINSsponsor

Adding Two Factor Authentication to Django Admin
Django is a “batteries included” framework, but one battery that isn’t included is two-factor authentication (2FA). Learn how to set up 2FA on the Django Admin site using an authentication app like Google Authenticator.
TIMO ZIMMERMAN

Arrange-Act-Assert: A Pattern for Writing Good Tests
Arrange-Act-Assert is a test pattern that forces tests to focus on independent, individual behaviors. Learn how to use it for your tests!
ANDREW KNIGHT

A Practical Introduction to Graphs (Network Diagrams)
Learn how to create a simple graph in Python. Not graph as in chart, but graph is in network diagram (or, dots connected with lines).
ANDREW HEALEY

Solving the Plus Minus Problem in Python
The “Plus Minus Problem” asks whether or not it’s possible, given the numbers 1 to n, to add and subtract them in some manner so that the total sum is zero. The problem may not have many practical applications, but it’s a great way to illustrate how a little bit of reasoning can save you from exponential-time algorithms.
JOHN LEKBERG

HCrystalBall: A Unified Interface to Time-Series Forecasting
HCrystalBall wraps time series forecasting projects like fbprophet, arima with autoarima, exponential smoothing from statsmodels, and (t)bats, and unifies them under a scikit-learn compatible interface so that you can leverage features like scikit-learn pipelines.
MICHAL CHROMČÁK

Deploying a State-Of-The-Art Question Answering System With 60 Lines of Python and Streamlit
Thanks to high-quality pretrained models, Wikipedia, and Streamlit, deploying a state-of-the-art question answering system has never been easier!
MIHAIL ERIC


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 →

pyparsing: Python Library for Creating PEG Parsers
GITHUB.COM/PYPARSING

tsp-art-python: Mathematical Art Based on Weighted Voronoi Stippling and the Travelling Salesman Problem
GITHUB.COM/MATTHRAS

sobot-rimulator: Autonomous Mobile Robot Simulator
GITHUB.COM/NMCCREA

Wikipedia: Pythonic Wrapper for the Wikipedia API
GITHUB.COM/GOLDSMITH

nanogui: Minimalistic C++/Python GUI Library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
GITHUB.COM/MITSUBA-RENDERER

hcrystalball: Unified API for Commonly Used Libraries and Modeling Techniques for Time-Series Forecasting
GITHUB.COM/HEIDELBERGCEMENT

FaceLean: Experiment to Use a Webcam as a Game Input Device
GITHUB.COM/BORISTSR

PyGM: Sorted Containers With State-Of-The-Art Query Performance and Compressed Memory Usage
GITHUB.COM/GVINCIGUERRA

toolz: A Functional Standard Library for Python
GITHUB.COM/PYTOOLZ

coconut: Simple, Elegant, Pythonic Functional Programming
GITHUB.COM/EVHUB

Nashpy: A Library for the Computation of Nash Equilibria in Two Player Games
GITHUB.COM/DRVINCEKNIGHT

eyeloop: A Python 3-Based Eye-Tracker Tailored Specifically to Dynamic, Closed-Loop Experiments on Consumer-Grade Hardware
GITHUB.COM/SIMONARVIN

📆🐍 Upcoming Python Events


⋅ PyHEP 2020 (Virtual) July 13 to July 18, 2020

⋅ Virtual Django Meetup Jul 23, 2020

⋅ EuroPython 2020 Online July 23 to July 27, 2020
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.