#352 – JANUARY 22, 2019
View in Browser »
This tutorial will give you a firm grasp of Python’s approach to async IO, which is a concurrent programming design that has received dedicated support in Python, evolving rapidly from Python 3.4 through 3.7 (and probably beyond).
PyCharm is the Python IDE for Professional Developers by JetBrains providing a complete set of tools for productive Python, Web and scientific development. Be more productive and save time while PyCharm takes care of the routine.
Nice little tutorial on building a Pong game with Pyxel, the Python retro game engine. This could be a fun project if you’re looking to get into game development with Python or if you’re trying to get your kids interested in programming.
Details the history and shortcomings of lambdas in Python. Also includes some patterns and corresponding benchmarks.
Detailed tutorial on how to perform regression using Keras. Learn how to train a Keras neural network for regression and continuous value prediction, specifically in the context of house price prediction.
Inspirational thoughts and tips on starting and managing an open source project, based on the author’s experience building Bocadillo, an asynchronous Python web framework.
FLORIMOND MANCA • Shared by Python Bytes FM
Python 3.7 can now be installed via the Windows app store. Assuming this works as intended, this has the potential to make setting up Python much easier for beginners and teachers alike.
MEHEDI HASSAN • Shared by Python Bytes FM
How to create Python extension modules with Nim and NimPy to speed up the execution of code that runs slowly in CPython. This is similar to writing a C extension (Nim compiles to C) but writing correct Nim code might be easier than writing the equivalent C code directly. Nice writeup.
If you’re interested in implementing important Security, Accessibility, and Localization features for PyPI, reach out to the PSF.
Andrew is looking for contributors: “I’ve been the sole maintainer of these projects for quite a while and it has become unsustainable – all of my energy is taken up fielding issues and support requests and I haven’t been able to even get myself to start looking at Django async stuff because of it.”
Articles & Tutorials
Working with a dog-slow test suite is frustrating. Itamar’s article gives you some practical tips you can use to speed up your testing feedback loop. This is where I learned about pytest-sermon.
“Over the last 12 months, I’ve been enraptured with the creativity and passion of the Python community across the African continent and want to use this letter to explore and share some of the amazing things that are happening.”
Discover Python’s best practices with simple examples and start writing even more beautiful + Pythonic code. “Python Tricks: The Book” shows you exactly how. You’ll master intermediate and advanced-level features in Python with practical examples and a clear narrative. Get the book + video bundle 33% off →
DAN BADER sponsor
Web development is full of tools that claim to help you develop your perfect application. What’s the right tool? This post explores options like Docker, Vagrant, and
honcho to see which tool can work for you on your next (or current) web app.
MATT LAYMAN • Shared by Matt Layman
“Python provides many advantages over the traditionally popular VBA scripts for finance professionals looking to automate and enhance their work processes. This article explores how to use Python and finance together via a practical step-by-step tutorial.”
Find out why giants like Instagram and Spotify chose to run on Python.
In this tutorial, you’ll learn how you can work with files in Python by using built-in modules to perform practical tasks that involve groups of files, like renaming them, moving them around, archiving them, and getting their metadata.
“Open edX has nearly a million lines of Python code, and they all have to run on Python 3 by the end of the year. Much of the work is not hard, it’s just extensive, and can’t all be done automatically.”
A pay-what-you-want book on software architecture.
LEONARDO GIORDANI book
How to get the automatic rollback behavior of Django’s
TransactionTestCase with Pytest.
Projects & Code
A Pytest plug-in which automatically selects and re-executes only tests affected by recent changes.
Extensive list of learning resources.
This was PyCoder’s Weekly Issue #352.
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 ]