#368 – MAY 14, 2019
View in Browser »
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.
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.
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 ANALYTICS sponsor
“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.”
A discussion of PEP554 (subinterpreters) and how it relates to the global interpreter lock (GIL) in CPython.
Another discussion of subinterpreters (PEP 554) and how they will allow true in-process parallelism.
PYTHON BYTES podcast
Articles & Tutorials
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.
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
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.
“I was able to find the cheapest flights with the minimal duration and the resulting prices were almost the same as on Google Flights.”
F-Strings will get a
= format specifier that expands like a macro into
<variable_name> = <value_of_variable> to serve as a debugging aid.
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.
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.
Pandas has a relatively new API for styling output. This article shows examples of using the style API.
Projects & Code
This was PyCoder’s Weekly Issue #368.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]