Andre Roberge: Friendly version 0.3 has been released
Friendly version 0.3 has been released. This version also marks the official name change from the former friendly-traceback.Before I started working on Friendly, I assumed that to do custom exception...
View ArticleJohn Cook: Illustrating Gershgorn disks with NumPy
Gershgorn’s theorem gives bounds on the locations of eigenvalues for an arbitrary square complex matrix.The eigenvalues are contained in disks, known as Gershgorn disks, centered on the diagonal...
View ArticleMike Driscoll: PyDev of the Week: Žan Anderle
This week we welcome Žan Anderle (@z_anderle) as our PyDev of the Week! Žan is a freelance software developer. You can check out his blog or check out his Github profile you’d like to know what he is...
View ArticleLearn PyQt: PySide6 Book now available: Create GUI Applications with Python...
Hello! This morning I released the first Qt6 edition of my PySide book Create GUI Applications, with Python & Qt6.This update follows the 4th Edition of the PySide2 book updating all the code...
View ArticleStack Abuse: How to Convert DOCX To Html With Python Mammoth
IntroductionAt some point in your software development path, you'll have to convert files from one format to another.DOCX (used by Microsoft Word) is a pretty common file format for a lot of people to...
View ArticleReal Python: Python Community Interview With Ewa Jodlowska
Today I’m joined by Ewa Jodlowska, executive director of the Python Software Foundation (PSF), the organization devoted to advancing open source technology related to the Python programming language.In...
View ArticleMade With Mu: Announcing Mu version 1.1.0-beta.2
After months of work, by many contributors, we’re delighted to announce the release of Mu 1.1.0 beta 2. This is the version we recommend you use, and you should update to this version via our official...
View ArticleCodementor: Quick tip: How I use pip-tools to wrangle dependencies
pip-tools is a Python development tool for helping you ensure you have deterministic and predictable builds. The best way I can think of what that means is by example. Let's say you clone a project...
View ArticleMatthew Wright: Profiling Python code with py-spy
If you have a Python program that is currently running you may want to understand what the real-world performance profile of the code is. This program could be in a production environment or just on...
View ArticlePodcast.__init__: Practical Advice On Using Python To Power A Business
Python is a language that is used in almost every imaginable context and by people from an amazing range of backgrounds. A lot of the people who use it wouldn't even call themselves programmers,...
View ArticleGlyph Lefkowitz: Interfaces and Protocols
Some of you read my previous post on typing.Protocols and probably wondered: “what about zope.interface?” I’ve advocated strongly for it in the past— but now that we have Mypy and Protocols, is it...
View ArticleSTX Next: What Makes a Great Python Developer?
It’s universal, powerful, simple and expressive: Python. It’s also thesecond most popular language in the world, defeated only by JavaScript.
View ArticleCodementor: Introduction to Web Scraping with Python
This is an article about web scraping with Python. In it we will look at the basics of web scraping using libraries such as requests and beautiful soup.
View ArticleEveryday Superpowers: Finishing "fizzbuzz" and announcing the Python Growth...
Closing the loop from my previous article about creative ways to solve the "fizzbuzz" kata and announcing a challenge for a small group of readers.Read more...
View ArticlePython⇒Speed: Speeding up Docker builds in CI with BuildKit
No one enjoys waiting, and waiting for your software to build and tests to run isn’t fun either—in fact, it’s quite expensive. And if you’re building your Docker image in a CI system like GitHub...
View ArticleReal Python: Python Booleans: Leveraging the Values of Truth
Understanding how Python Boolean values behave is important to programming well in Python. The Python Boolean type is one of Python’s built-in data types. It’s used to represent the truth value of an...
View ArticleListenData: Translating Web Page while Scraping
Suppose you need to scrape data from a website after translating the web page in R and Python. In google chrome, there is an option (or functionality) to translate any foreign language. If you are an...
View ArticlePyCoder’s Weekly: Issue #464 (March 16, 2021)
#464 – MARCH 16, 2021View in Browser »Pattern Matching Tutorial for Pythonic Code Structural pattern matching is coming in Python 3.10. This article explores how to use it to write Pythonic code by...
View ArticlePython for Beginners: How to remove punctuation from a Python String
Often during data analysis tasks, we come across text data which needs to be processed so that useful information can be derived from the data. During text processing, we may have to extract or remove...
View ArticlePython Engineering at Microsoft: Python in Visual Studio Code – March 2021...
We are pleased to announce that the March 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it...
View Article