Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python GUIs: Simpler multithreading PyQt/PySide apps with QThreadPool.start() — Easily run Python functions and methods in another thread

Link: https://www.pythonguis.com/faq/pyqt-qthreadpool-simple-threading/

In PyQt5 version 5.15.0 the .start() method of QThreadPool got a new signature that accepts either a Python function, a Python method, or a PyQt/PySide slot. This greatly simplifies the process of run
ItsMyCode: Python ImportError: No module named PIL Solution

Link: https://itsmycode.com/python-importerror-no-module-named-pil-solution/

ItsMyCode |
If you use the Python image library and import PIL, you might get ImportError: No module named PIL while running the project. It happens due to the depreciation of the PIL library. Instead
Inspired Python: Testing your Python Code with Hypothesis

Link: https://www.inspiredpython.com/course/testing-with-hypothesis/testing-your-python-code-with-hypothesis


Testing your Python Code with Hypothesis
I can think of a several Python packages that greatly improved the quality of the software I write. Two of them are pytest and hypothesis. The former adds an
Python for Beginners: Postorder Tree Traversal Algorithm in Python

Link: https://www.pythonforbeginners.com/data-structures/postorder-tree-traversal-algorithm-in-python

Binary trees are very useful in representing hierarchical data. In this article, we will discuss how to print all the elements in a binary tree using postorder tree traversal. We will also implement t
Real Python: The Real Python Podcast – Episode #88: Discussing Type Hints, Protocols, and Ducks in Python

Link: https://realpython.com/podcasts/rpp/88/

There seem to be three kinds of Python developers: those unaware of type hints or have no opinion, ones that embrace them, and others who have an allergic reaction at the mention of them. Python is fa
Python Bytes: #261 Please re-enable spacebar heating

Link: https://pythonbytes.fm/episodes/show/261/please-re-enable-spacebar-heating

<p><strong>Watch the live stream:</strong></p>

<a href='https://www.youtube.com/watch?v=ySdl6JIxzec' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>
"Mathspp Pydon'ts": Why mastering Python is impossible, and why that's ok | Pydon't 🐍

Link: https://mathspp.com/blog/pydonts/why-mastering-python-is-impossible


Let me tell you why it is impossible to truly master Python, but also show you how to get as close to it as possible.
Photo by Migle Siauciulyte on Unsplash.Introduction
It has been said that you nee
Weekly Python StackOverflow Report: (ccciv) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/12/ccciv-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-12-04 16:23:51 GMTSorting multiple lists together in place - [8/1]
Hynek Schlawack: How to Ditch Codecov for Python Projects

Link: https://hynek.me/articles/ditch-codecov-python/

Codecov’s unreliability breaking CI on my open source projects has been a constant source of frustration for me for years. I have found a way to enforce coverage over a whole GitHub Actions build matr
Paolo Amoroso: Suite8080 0.4.0

Link: http://blog.paoloamoroso.com/2021/12/suite8080-040.html

I released version 0.4.0 of Suite8080, the suite of Intel 8080 Assembly cross-development tools I’m writing in Python. It bundles some minor features and changes I did while thinking about what major
Jaime Buelta: “Python Architecture Patterns” book announced!

Link: https://wrongsideofmemphis.com/2021/12/04/python-architecture-patterns-book-announced/

We are getting close to the end of the year, but I have great news! A new Python book is on the way, and will be released soon. Current software systems can be extremely big and complex, and Software
PyPy: Error Message Style Guides of Various Languages

Link: https://www.pypy.org/posts/2021/12/error-message-style-guides.html

Error Message Style Guides of Various Languages
PyPy has been trying to produce good SyntaxErrors and other errors for
a long time. CPython has also made an enormous push to improve its
SyntaxErrors i
ItsMyCode: Remove Character From String Python

Link: https://itsmycode.com/remove-character-from-string-python/

ItsMyCode |
We can remove a character from String in Python using replace() and translate() methods. In this tutorial, let’s look at How to remove a character from a string in Python with examples.
Py
ItsMyCode: Python Print to File

Link: https://itsmycode.com/python-print-to-file/

ItsMyCode |
We always use print statements in Python to display the output in the console or command line terminal. However, sometimes we want to change this behavior to print to a text file instead o
ItsMyCode: Python Split list into chunks

Link: https://itsmycode.com/python-split-list-into-chunks/

ItsMyCode |
In this tutorial, you will learn how to split a list into chunks in Python using different ways with examples.
Python Split list into chunks
Lists are mutable and heterogenous, meaning the
Sandipan Dey: Implementing a few algorithms with python

Link:

In this blog, we shall focus on implementing a few famous of algorithms with python – the algorithms will be from various topics, such as graph theory, compiler construction, theory of computation, nu
ItsMyCode: How To Convert Python String To Array

Link: https://itsmycode.com/how-to-convert-python-string-to-array/

ItsMyCode |
In Python, we do not have an in-built array data type. However, we can convert Python string to list, which can be used as an array type.
Python String to Array
In the earlier tutorial, w
Mike Driscoll: PyDev of the Week: Fanilo Andrianasolo

Link: https://www.blog.pythonlibrary.org/2021/12/06/pydev-of-the-week-fanilo-andrianasolo/

This week we welcome Fanilo Andrianasolo (@andfanilo) as our PyDev of the Week! Fanilo is a core developer for several Streamlit extensions and a Community Ambassador for Streamlit itself. He also has