Made With Mu: A GPIOZero Theramin for Valentine’s Day
Thanks to Ben Nuttall, one of the maintainers of the wonderful, GPIOZero library, love is in the air.Why not serenade your Valentine with Mu, a distance sensor, speaker, Raspberry Pi and some nifty...
View ArticleTalk Python to Me: #199 Automate all the things with Python at Zapier
Do your applications call a lot of APIs? Maybe you have a bunch of microservices driving your app. You probably don't have the crazy combinatorial explosion that Zapier does for connecting APIs! They...
View ArticleContinuum Analytics Blog: Intake released on Conda-Forge
Intake is a package for cataloging, finding and loading your data. It has been developed recently by Anaconda, Inc., and continues to gain new features. To read general information about Intake and how...
View ArticlePyCon: Eighth Annual PyLadies Auction at PyCon 2019
Photo Courtesy of Mike PirnatPyLadies is an international mentorship community for women that use Python. Started with the help of a grant provided by The Python Software Foundation (PSF) in 2011,...
View ArticlePyCharm: PyCharm 2019.1 EAP 4
Our fourth Early Access Program (EAP) version for PyCharm 2019.1 is now available on our website.New in This VersionParallel and concurrent testing with pytestPyCharm makes it easy to run tests quickly...
View ArticleVasudev Ram: pprint.isrecursive: Check if object requires recursive...
- By Vasudev Ram - Online Python training / SQL training / Linux trainingTree image attributionHi, readers,I was using the pprintmodule to pretty-print some Python data structures in a program I was...
View Articlegamingdirectional: Detect the player’s boundary
In this article, we will start to create the boundary detection mechanism which can be used to help the boy moving around the canvas. We will go slowly where this topic will take a few chapters to...
View ArticleCodementor: Getting Started with Pathlib
Introduction This tutorial will guide you on how to use the Pathlib module for working with filesystem paths, the benefits, and understand the problem it solves since the Python standard...
View ArticleWeekly Python StackOverflow Report: (clxv) stackoverflow python report
These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-02-16 19:24:24 GMTWhy does Python allow out-of-range slice indexes...
View ArticlePython Sweetness: Threadless mode in Mitogen 0.3
Mitogen has been explicitly multi-threaded since the design was first conceived. This choice is hard to regret, as it aligns well with the needs of operating systems like Windows, makes background...
View ArticlePython Insider: Python 2.7.16 release candidate 1 available
A release candidate for the upcoming 2.7.16 bug fix release is now available for download.
View ArticleThomas Guest: Aligning the first line of a triple-quoted string in Python
Python’s triple-quoted strings are a convenient syntax for strings where the contents span multiple lines. Unescaped newlines are allowed in triple-quoted strings. So, rather than write: song = ("Happy...
View ArticlePyBites: PyBites Twitter Digest - Issue 01, 2019
It has been too long 😞 but we're excited to bring you today: 🐍 PyBites Twitter Digest - Issue 01, 2019 😎 Python Developers Survey 2018 resultsHey Pythonistas, have you already seen the Python...
View Articlegamingdirectional: Continue with the boy boundary detection mechanism
In the previous article, we have successfully made the boy climbing up the ladder but the boy will continue climbing even though there is no more ladder for him to climb. In this article, we will solve...
View ArticleStefan Behnel: Speeding up basic object operations in Cython
Raymond Hettinger published a nice little micro-benchmark script for comparing basic operations like attribute or item access in CPython and comparing the performance across Python versions....
View ArticleReuven Lerner: Python’s str.isdigit vs. str.isnumeric
Let’s say that I want to write some Python code that invites the user to enter a number, and then prints that number, tripled. We could say:>>> n = input("Enter a number: ")>>>...
View ArticleTest and Code: 65: one assert per test
Is it ok to have more than one assert statement in a test? I've seen articles that say no, you should never have more than one assert. I've also seen some test code made almost unreadable due to trying...
View ArticleReal Python: How to Run Your Python Scripts
One of the most important skills you need to build as a Python developer is to be able to run Python scripts and code. This is going to be the only way for you to know if your code works as you...
View ArticleMike Driscoll: PyDev of the Week: Maria McKinley
This week we welcome Maria McKinley (@twiteness) as our PyDev of the Week. Maria is a Senior Software Engineer at the Walt Disney Company and will be a speaker at PyCascades 2019. She is also teaching...
View Article