Buying a House With Python, OOP in Python vs. Java, What is Werkzeug, and More

#467 – APRIL 6, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
How I Beat the Berlin Rental Market With a Python Script
Learn how one Python developer used a Python script to analyze the housing market in Berlin and predict when a property would be sold or when the price would be decreased. While the article doesn’t include a lot of technical details, it’s a great case study of how Python, its rich ecosystem, and a little creativity can turn solving a banal problem — like searching for a new house in a crowded market — into something fun and intellectually rewarding!
GIAN SEGATO

Python vs Java: Object Oriented Programming
You may have heard that “everything is an object in Python.” But what does that mean for doing object oriented programming? If you’re coming to Python with a Java background, you’ll want to check out this course to learn how to reinterpret your understanding of Java objects to Python, and use objects in a Pythonic way.
REAL PYTHON course

Ray Summit | June 22-24: Scalable Python & ML for Everyone
Ray is growing faster than ever—join the global community of developers, ML practitioners, data scientists, DevOps, and cloud-native architects at Ray Summit. See how Ray, the open-source Python framework, makes distributed computing simple and flexible. Register free to join live & on-demand →
ANYSCALEsponsor

What is Werkzeug?
Have you ever noticed that when you install Flask a dependency called Werkzeug is also installed? Werkzeug provides a set of utilities for building a WSGI interface in Python, which is an important part of any web application. This article will take you on a deep dive of Werkzeug and show you exactly how it works so you can have a deeper understanding of Flask applications.
PATRICK KENNEDY • Shared by Patrick Kennedy

Python 3.9.4 Hotfix Is Now Available
Python 3.9.3 has been recalled and a new hotfix released. All users are encouraged to upgrade. See the announcement for more information.
CPYTHON DEV BLOG

Django 3.2 Released
The next version in the Django 3 series is now available and has been designated a long-term support (LTS) release.
DJANGO SOFTWARE FOUNDATION

Python 3.10.0a7 Is Now Available
This is the last planned alpha release of Python 3.10.0! Next stop: The first beta, and a feature freeze… 🥶
PYTHON.ORG

CircuitPython 6.2.0 Released
ADAFRUIT.COM

TLDR Newsletter: Byte Sized News for Techies
TLDR is a daily, curated newsletter with links and TLDRs of the most interesting stories in tech, science, and programming.
TLDRNEWSLETTER.COM


Python Jobs


Intermediate Python Developer (Boulder, CO, USA)
UPLIGHT

Data Engineer (Seattle, WA, USA)
DOXO

Software Development Engineer (Indianapolis, IN, USA)
TOC LOGISTICS INTERNATIONAL, INC.

Full-Stack Django Developer (Oslo, Norway)
UNIFAI

More Python Jobs >>>


Articles & Tutorials


Python News: What’s New From March 2021?
March 2021 was full of exciting Python news! Quickly get up to speed on what’s been happening in the world of Python in the past month. You’ll see everything from structural pattern matching to the 2020 Python Developers Survey.
REAL PYTHON

Loading SQL Data Into Pandas Without Running Out of Memory
If you need to load a bunch of SQL query results into a Pandas DataFrame, then you might run into a problem if there are enough rows in the SQL query’s results: it won’t fit in RAM. Panda’s read_sql() function has a batching option, but it loads all of the data into memory, too. So, how do you handle larger-than-memory queries with Pandas? This article will show you how!
ITAMAR TURNER-TRAURING

Beyond the Cache With Python
If caching is all you’re using Redis for, you’re missing out. Learn how to operate redis at scale at RedisConf 2021. Click here to register now →
REDIS LABSsponsor

The Weird Walrus
Python 3.8 introduced the world to the “walrus” operator, which is a colloquial term for the := operator used in the new assignment expressions. The expression a := 2 does two things: it assigns the value 2 to the name a and then returns the value 2. There’s something a little weird with assignment expressions, though. Try to execute a := 2 in a REPL and you’ll get a SyntaxError. But wrap the expression in parentheses (a := 2) and everything works like a charm. What? Why?
ARPIT BHAYANI

Writing Makefiles for Python Projects
Makefiles provide an entry point for project contributors to build, test, and deploy projects with simplified commands. Often, Makefiles in Python projects are written so that they expect a virtual environment to be activated before invoking any of the make targets. Read this article to see one way of getting around this, then check out this discussion for even more Makefile ideas.
BASTIAN VENTHUR

Datetime Changes in Python 4.0
Have you heard about the newest backward-incompatible change planned for Python 4? Well, if you haven’t, you’ll want to get the inside scoop by reading what the core development team has planned for the datetime module. (And, as a side note, you might want to check the publication date after you’ve read the article and studied the PEP.)
TOMASZ WESOŁOWSKI

Using %autoreload to Speed Up IPython and Jupyter Work
One of the problems with working with a shell or notebook is that you have to restart the kernel before any changes made to an imported module or package are recognized. Thanks to IPython’s %autoreload magic, though, you don’t have to let kernel restarts slow down your development.
MATT WRIGHT


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 →

evalml: An AutoML Library Written in Python
GITHUB.COM/ALTERYX

japronto: Screaming-Fast Python 3.5+ HTTP Toolkit
GITHUB.COM/SQUEAKY-PL

result: A Rust-Like Result Type for Python 3
GITHUB.COM/DBRGN

Lunatic Python: LUA in Python and Vice Versa
LABIX.ORG

server-text: Run Server Commands via Text Message
GITHUB.COM/MTDEVSS

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) April 7, 2021

⋅ Python for ML and AI Global Summit ‘21 April 8 – 10, 2021

⋅ PyCon Israel 2021 (Virtual) May 2 – 3, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021

⋅ DjangoCon Europe 2021 (Virtual) June 2 – 6, 2021

⋅ PyCon India 2021 September 17 – 20, 2021
Happy Pythoning!
Copyright © 2021 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

Full-Text Search in 150 Lines, OrderedDict vs. dict, Checking on the Suez Canal, and More

Wednesday, March 31, 2021

Many Models Workflows in Python #466 – MARCH 30, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Many Models Workflows in Python Learn how to organize models into dataframes for exploratory data

Python Testing Style Guide, Performance Management, Pygame Asteroids Clone, and More

Tuesday, March 23, 2021

Python Testing Style Guide #465 – MARCH 23, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Python Testing Style Guide Need a quick yet thorough guide to testing? This excellent resource is for you.

Pythonic Pattern Matching, PyQt vs. PySide, Speeding Up Pandas, and More

Tuesday, March 16, 2021

Pattern Matching Tutorial for Pythonic Code #464 – MARCH 16, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Pattern Matching Tutorial for Pythonic Code Structural pattern matching is coming in

Poison Packages on PyPI, Python Synthesizers, Monoliths to Managed Architecture, and More

Tuesday, March 9, 2021

Poison Packages: User Hits Python Community With 4000 Fake Modules #463 – MARCH 9, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Poison Packages: User Hits Python Community With 4000 Fake Modules

SemVer Won't Save You, Python Flies on Mars, Automated TPS Reports, and More

Tuesday, March 2, 2021

Semantic Versioning Will Not Save You #462 – MARCH 2, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Semantic Versioning Will Not Save You Semantic versioning aims to both communicate the version

You Might Also Like

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where

⏯️ Make a Holiday Guest Profile for Your Streaming Services — What Is Linux Mint?

Monday, December 23, 2024

Also: I Played the Worst Mobile Games So You Don't Have To, and More! How-To Geek Logo December 23, 2024 Did You Know The giant splashes of color that make poinsettias a popular holiday decoration

Ranked | The Most Satisfying vs. Most Reliable Car Brands in 2024 🚙

Monday, December 23, 2024

The most reliable car brands are rarely the most satisfying to own, according to recent Consumer Reports survey data. View Online | Subscribe | Download Our App Presented by: Find the megatrends

Bitcoin Enthusiasts Are Letting Altcoins Pass by

Monday, December 23, 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 23, 2024? The

Last Minute Gifts from Walmart

Monday, December 23, 2024

ZDNET ZDNET Sponsored Message In Partnership with Walmart December 23, 2024 exclusive offer Walmart Last-minute gifts from Walmart Shop Now Walmart The tech you've been wishing for–at everyday low

15 ways AI saved me weeks of work in 2024

Monday, December 23, 2024

ZDNET's product of the year; Windows 11 24H2 bug list updated -- ZDNET ZDNET Tech Today - US December 23, 2024 AI applications on various devices. 15 surprising ways I used AI to save me weeks of

Distributed Locking: A Practical Guide

Monday, December 23, 2024

If you're wondering how and when distributed locking can be useful, here's the practical guide. I explained why distributed locking is needed in real-world scenarios. Explored how popular tools

⚡ THN Weekly Recap: Top Cybersecurity Threats, Tools and Tips

Monday, December 23, 2024

Your one-stop-source for last week's top cybersecurity headlines. The Hacker News THN Weekly Recap The online world never takes a break, and this week shows why. From ransomware creators being

⚙️ OpenA(G)I?

Monday, December 23, 2024

Plus: The Genesis Project ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌