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 #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.

This Smart Scale for iPhone Is the Best on the Market

Saturday, April 27, 2024

The ultimate checkup, with electrocardiogram.¹ Learn about your body at every weigh-in: pinpoint muscle and fat mass, monitor your cardiovascular health and detect a cardiac anomaly. Body Scan, the

How are you liking the Tip of the Day?

Saturday, April 27, 2024

Dear iPhone Life Reader, Now that you've been enjoying Tip of the Day for a few weeks, we have a quick favor to ask: If you've found the daily emails helpful, please share this link with a

📧 Request Response Messaging Pattern With MassTransit

Saturday, April 27, 2024

​ Request Response Messaging Pattern With MassTransit Read on: m​y website / Read time: 5 minutes BROUGHT TO YOU BY ​ Get ready for POST/CON 24! ​ Join us in San Francisco from April 30 - May 1 for

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.