#372 – JUNE 11, 2019
View in Browser »
“Python’s ascent continues among software developers, bolstered by its usability compared with Java and C.”
New features include: f-string debugging, “async REPL” mode,
unittest.mock, async-support for
math.comb added, Python embedding got better, and more.
PyCharm 2019.1 Professional Edition has all-new Jupyter Notebooks support. You can use the same IDE that you use for building your application to analyze the data to improve it. Try it now →
Learn how to make a Twitter bot in Python with Tweepy, which is a package that provides a very convenient way to use the Twitter API. You can use your Twitter bot to automate all or part of your Twitter activity.
“In this post, I will try to explain the intricate details of Python packaging. I spent the best part of my evenings in the past two months to gather as much information as possible about the problem, the current solutions, what is legacy and what is not.” Related discussion on Hacker News
The next macOS release deprecates built-in Python 2.7 and other system scripting languages, such as Ruby. The system scripting languages on macOS have always lagged behind the latest releases, for example, the macOS system Python is still on 2.7. You’ll still be able to install Python 2 or Python 3 as you would most likely anyway today.
“This post is a write-up of a solution to part of a programming puzzle I did yesterday. It’s a little different than the usual ‘solution + theory’ approach, though: I’m going to talk about the actual steps you’d need to take to get to the solution (i.e. what to google, what intermediate code looks like, etc.).”
DONNACHA OISÍN KIDNEY
“This tutorial is designed as an end-to-end walkthrough detailing all that is necessary for building and integrating a compiler into PyTorch’s JIT.”
Articles & Tutorials
What’s the difference between
@staticmethod, and “plain/regular” instance methods in Python? You’ll know the answer after watching this video series and playing with the accompanying code examples.
REAL PYTHON video
Why so many drawings in the margins depict bunnies going bad…
Discover why Python developers love self-hosting their apps on DigitalOcean, the simplest cloud platform. Click here to learn more and get started within minutes →
Python might be hard to install on Windows, but with the latest Windows 10 update, you can type
python to find it in the Microsoft Store.
STEVE DOWER (MICROSOFT)
Twisted’s release manager discusses decision to continue supporting Python 2.7.
“I’ve been working more with beginning programmers recently and have heard them talking about feeling like an impostor on a frequent basis, so this time when the feeling struck, I paid attention to it.”
In this tutorial, you’ll learn how to implement a stack in Python. You’ll see how to recognize when a stack is a good choice for data structures, how to decide which implementation is best for a program, and what extra considerations to make about stacks in a threading or multiprocessing environment.
Projects & Code
This was PyCoder’s Weekly Issue #372.
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 ]