Issue #368

CPython 3.8a4, GIL News, Recording Audio With Python, and More

May 14, 2019

CPython 3.8a4, GIL News, Recording Audio With Python, and More
#368 – MAY 14, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
CPython 3.8.0a4 Avaliable for Testing
Among the new major new features and changes so far: Assignment expressions (PEP 572), Positional-only arguments (PEP 570), multiprocessing can now use shared memory to avoid pickling, typed_ast is back.
PYTHON.ORG

Playing and Recording Sound in Python
In this tutorial, you’ll learn about libraries that can be used for playing and recording sound in Python, such as PyAudio and python-sounddevice. You’ll also see code snippets for playing and recording sound files and arrays, as well as for converting between different sound file formats.
REAL PYTHON

SQL, Python, and R. All in One Platform. Free Forever.
Mode Studio combines a SQL editor, Python & R notebooks, and visualization builder in one platform. And it’s free forever. Connect data from anywhere and analyze with your preferred language. Build custom visualizations or use out-of-the-box charts.
MODE ANALYTICSsponsor

How the Dropbox Client Uses Python
“This blog post talks about reverse engineering the Dropbox client, breaking its obfuscation mechanisms, de-compiling it to Python code as well as modifying the client in order to use debug features which are normally hidden from view.”
ANVILVENTURES.COM

Has the Python GIL Been Slain?
A discussion of PEP554 (subinterpreters) and how it relates to the global interpreter lock (GIL) in CPython.
ANTHONY SHAW

Will the GIL Be Obsolete With PEP 554?
Another discussion of subinterpreters (PEP 554) and how they will allow true in-process parallelism.
PYTHON BYTES podcast

Things You’re Probably Not Using in Python 3, But Should
VINKO KODŽOMAN


Discussions


Epic Medieval Painting of GvR
It was auctioned off at PyCon 2019.
IMGUR.COM

“Controversial Random Thought on OOP in Python”
Inheritance vs Composition
RAYMOND HETTINGER


Python Jobs


SIPS Programmer
UNIVERSITY OF WISCONSIN 📍 MADISON, WI

Senior API Developer
GAMEANALYTICS LTD. 📍 COPENHAGEN, DENMARK

Senior Backend Python Developer
KIWI.COM 📍 REMOTE

More Python Jobs >>>


Articles & Tutorials


The Best Docker Base Image for Your Python Application
Which Docker image should you use for your Python app? There are many choices, and it may not be obvious which is the best for your situation. This article gives you a good overview of the current options available.
ITAMAR TURNER-TRAURING

Writing Cleaner Python Code With PyLint
In this video series you’ll see how to install and set up the PyLint code linter tool. You’ll learn why you should use code linters like PyLint, Flake8, PyFlakes, or other static analysis tools—and how they can help you write cleaner and more Pythonic code.
REAL PYTHON video

Learn Enteprise API Integrations With Zato
Zato is a high-performance open-source Python-based enterprise integration platform and application server for SOA/API with built-in support for Odoo, SAP, IBM MQ, REST, SOAP, AMQP, SSO, Publish/Subscribe, Docker, LDAP, SQL, NoSQL, Caching, S3, SMS, Kafka, Search and more. Click here for details.
ZATOsponsor

Finding the Cheapest Flights for a Multi-Leg Trip With Python
“I was able to find the cheapest flights with the minimal duration and the resulting prices were almost the same as on Google Flights.”
NVBN.GITHUB.IO

F-String Debugging in Python 3.8
F-Strings will get a = format specifier that expands like a macro into <variable_name> = <value_of_variable> to serve as a debugging aid.
TIRKARTHI.GITHUB.IO

Innovate Software at OSCON
Join the O’Reilly Open Source Software Conference (OSCON) this July to see what’s shaping software development—from AI and cloud technology to distributed computing—and learn how to put it to work for you. Save 25% with code PYCODER.
O'REILLYsponsor

Letting Google Know of Other Languages in Your Django Site
If you have a public facing Django site in multiple languages, you probably want to let Google and other search engines know about it. This article shows you the minimal setup necessary to support this use case.
HAKI BENITA

Styling Output in Pandas
Pandas has a relatively new API for styling output. This article shows examples of using the style API.
CHRIS MOFFITT

Django Search Tutorial
How to add basic search functionality to any Django website.
WILLIAM VINCENT

Python Dicts and Memory Usage
REUVEN LERNER

The Reason I Am Using Altair for Most of My Visualization in Python
FERNANDO IRARRÁZAVAL


Projects & Code


Pint: Define, Operate, and Manipulate Physical Quantities
PINT.READTHEDOCS.IO

plotnine: A Grammar of Graphics for Python, Based on ggplot2
GITHUB.COM/HAS2K1

machine-learning-course: Machine Learning Course With Python
GITHUB.COM/MACHINELEARNINGMINDSET

cloudmarker: Cloud Monitoring Tool and Framework
GITHUB.COM/CLOUDMARKER

pishot: Capture High-Speed Strobe Images Using the Raspberry Pi Camera
GITHUB.COM/REVALO

open-spelling-bee: Terminal-Based Python Clone of New York Times’ Puzzle Game “Spelling Bee”
GITHUB.COM/PHILSHEM

django-restql: Dynamically Select Only a Subset of Fields Per DRF Resource
GITHUB.COM/YEZYILOMO • Shared by Yezy Ilomo

📆🐍 Upcoming Python Events


PyCon Africa Still Accepting Talk Proposals


EuroPython 2019 Early-Bird Ticket Sales Open
July 8 – 14 in Basel, Switzerland

Python Northwest
May 16, 2019

Karlsruhe Python User Group (KaPy)
May 17, 2019
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.