Python-Powered Robot Dogs, What Is Core Python, Reducing Iterables, and More

#427 – JUNE 30, 2020
The PyCoder’s Weekly Logo
PEP 622: Structural Pattern Matching
This PEP proposes adding pattern matching—a sort of enhanced switch statement—to the Python language. Read the PEP at the link above and follow the discussion on Reddit.
PYTHON.ORG

Clinging to Memory: How Python Function Calls Can Increase Your Memory Usage
One of the advantages Python has over a language like C is that you don’t have to worry about how memeory is freed up during program execution. But sometimes Python’s memory management doesn’t work the way you’d expect.
ITAMAR TURNER-TRAURING

Launch Your Data Science Career With Springboard
Learn foundational skills in Python programming and statistics. With an expert data science mentor in your corner, in just 4-6 weeks, you’ll be able to use Python to complete real-world coding exercises and be prepared to take the Data Science Career Track – complete with a job guarantee →
SPRINGBOARDsponsor

Python’s reduce(): From Functional to Pythonic Style
In this step-by-step tutorial, you’ll learn how Python’s reduce() works and how to use it effectively in your programs. You’ll also learn some more modern, efficient, and Pythonic ways to gently replace reduce() in your programs.
REAL PYTHON

What Is the Core of the Python Programming Language?
What makes Python… Python? Is it the language semantics? A set of features? What could you strip away and still have something you’d call Python? Everyone needs a little programming language existentialism now and then.
BRETT CANNON

Python Pattern Matching: Guards and Or-Patterns Might Not Interact in the Way You Expect
There’s an implementation of PEP 622 that you can try out here. But it has some potentially confusing effects.
NICK ROBERTS

Boston Dynamics Now Sells a Robot Dog to the Public, And You Can Program It With Python
It only took 28 year, but now you can have your very own robot dog. If you can stomach the price tag, that is. But hey, it’s got a Python SDK!
RON AMADEO

How to Trick a Neural Network in Python 3
Is that a corgi or a goldfish?
ALVIN WAN


Discussions


What Is the Purpose of Floating Point Index in Pandas?
Considering issues like floating-point representation error, is it ever a good idea to use a float as an index?
STACK OVERFLOW

Why Is math.sqrt Massively Slower Than Exponentiation?
Is it, though? The square root of 2 might not be a good value for timing comparisons.
STACK OVERFLOW


Python Jobs


Senior Python Engineer (Remote)
GORGIAS

Quantitative Analyst (Washington, DC)
CONVERGENZ

Python Developer (Remote)
WALLERO

Senior Python / Django Developer (Philadelphia, PA, USA)
SYRINX CONSULTING CORPORATION

More Python Jobs >>>


Articles & Tutorials


The Python heapq Module: Using Heaps and Priority Queues
Explore the heap and priority queue data structures. You’ll learn what kinds of problems heaps and priority queues are useful for and how you can use the Python heapq module to solve them.
REAL PYTHON

Speeding Up Function Calls With Just One Line in Python
The lru_cache decorator allows you to take advantage of memoization to optimize function calls.
HACKEREGG.GITHUB.IO

The Cloud Python Developers Love
DigitalOcean is the cloud provider that makes it easy for developers to deploy and scale their applications. From Flask and Django apps to JupyterHub Notebook servers, DigitalOcean enables Python developers to focus their energy on creating software →
DIGITALOCEANsponsor

Unicode in Python: Working With Character Encodings
In this course, you’ll get a Python-centric introduction to character encodings and Unicode. Handling character encodings and numbering systems can at times seem painful and complicated, but this guide is here to help with easy-to-follow Python examples.
REAL PYTHON

PEP 620: Hide Implementation Details From the C API
Author Victor Stinner argues that Python’s C API is too close to the CPython implementation, which limits available optimizations and hinders the addition of new features. PEP 622 proposes hiding implementation details from the C API.
PYTHON.ORG

Python Regular Expressions, Views vs Copies in Pandas, and More
Have you wanted to learn Regular Expressions in Python, but don’t know where to start? Have you stumbled into the dreaded pink SettingWithCopyWarning in Pandas? Then check out this episode of the Real Python Podcast.
REAL PYTHON podcast

Testing Python Code That Makes HTTP Requests
The Dependency Inversion Principle helps you design code that is more extensible and easier to test. You can use it to test code that makes HTTP requests without using mocks.
ROMAN TOMJAK

Red Hat Enterprise Linux 8.2 Brings Faster Python 3.8 Run Speeds
Red Hat explains how they compiled CPython with GCC’s -fno-semantic-interposition flag to get run time speed improvements up to 30% faster than normal.
TOMAS OROSAVA

Mutable Defaults: Contrarian View on Mutable Default Arguments
Should you use mutable objects for default function arguments? Conventional wisdom says no, but has the risk been overstated?
A. COADY opinion

Street Lanes Finder: Detecting Street Lanes for Self-Driving Cars [2019)
Learn how to use OpenCV to detect street lanes in an image of a road.
GREG SURMA


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 →

spot-sdk: Spot SDK Repo
GITHUB.COM/BOSTON-DYNAMICS

Nuitka: Nuitka Is a Python Compiler Written in Python
GITHUB.COM/NUITKA

pypareto: Sorting Chains for Pareto Frontier Extraction
GITHUB.COM/KUMMAHIIH

TextAttack: A Python Framework for Adversarial Attacks, Data Augmentation, and Model Training in NLP
GITHUB.COM/QDATA

konlpy: Python Package for Korean Natural Language Processing
GITHUB.COM/KONLPY

pyperclip: Python Module for Cross-Platform Clipboard Functions
GITHUB.COM/ASWEIGART

magnum: Lightweight and Modular C++11/C++14 Graphics Middleware for Games and Data Visualization with Python Bindings
GITHUB.COM/MOSRA

📆🐍 Upcoming Python Events


⋅ FlaskCon (Online) July 4 to July 6, 2020

⋅ SciPy 2020 (Online) July 6 to July 13, 2020
Happy Pythoning!
Copyright © 2020 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

 | 

Older messages

PEP 618 Accepted, Python vs COVID-19, "pickle" Flaws You Should Know About, and More

Tuesday, June 23, 2020

Hands-On Linear Programming: Optimization With Python #426 – JUNE 23, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Hands-On Linear Programming: Optimization With Python In this tutorial, you'

Async Python Isn't Always Faster, Python Space Science, Generators, and More

Tuesday, June 16, 2020

Getting Machine Learning to Production #425 – JUNE 16, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Getting Machine Learning to Production Millions of web apps get deployed to production every

Web Scraping Tools & Legality, How Async Should've Been, 90% Python Wheels Adoption, and More

Tuesday, June 9, 2020

Web Scraping in Python: Tools, Techniques, and Legality #424 – JUNE 9, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Web Scraping in Python: Tools, Techniques, and Legality Do you want to get

Python 3.9 PEPs, Dependency Mgmt & Injection, Python on the Raspberry Pi, and More

Tuesday, June 2, 2020

The Many Ways to Pass Code to Python From the Terminal #423 – JUNE 2, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo The Many Ways to Pass Code to Python From the Terminal You might know about

Async Python Tips, The Hypermodern Python Dev Setup, Job Hunting in a Pandemic, and More

Tuesday, May 26, 2020

Waiting in `asyncio` #422 – MAY 26, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Waiting in asyncio There are many ways to wait on the results of a coroutine in Python's asyncio framework.

You Might Also Like

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power

The Stanford Grad Who Forgot How To Think

Tuesday, December 24, 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 24, 2024? The

The next big HDMI leap is coming

Tuesday, December 24, 2024

Sora side hustles; Casio's tiny watch comes to the US -- ZDNET ZDNET Tech Today - US December 24, 2024 Ecovacs Deebot T30S Combo robot vacuum and mop The next big HDMI leap is coming next month -

⚙️ Robo-suits

Tuesday, December 24, 2024

Plus: The data center energy surge ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Apache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE Attacks

Tuesday, December 24, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Edge 459: Quantization Plus Distillation

Tuesday, December 24, 2024

Some insights into quantized distillation ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏