Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Shortest Path Length from a Vertex to other Vertices in a Graph

Link: https://www.pythonforbeginners.com/data-structures/shortest-path-length-from-a-vertex-to-other-vertices-in-a-graph

Graphs are used to represent geographical maps, computer networks, etc. In this article, we will discuss how to calculate the shortest distance between vertices in an unweighted graph. To calculate th
Ching-Hwa Yu: How to Create a Python Plugin System with Stevedore

Link: https://chinghwayu.com/2021/11/how-to-create-a-python-plugin-system-with-stevedore/

Photo by Kieran Wood on Unsplash
One of the questions that I see and hear often is how to extend applications using a Python plugin system. For a test engineer, this is usually related to hardware abs
STX Next: Python Outsourcing: A Short Guide for CTOs and Technical Managers

Link: https://www.stxnext.com/blog/python-outsourcing-guide/




If we could distill Python’s main advantage over other programming languages into just one word, it would be: “simplicity.”
PyCoder’s Weekly: Issue #501 (Nov. 30, 2021)

Link: https://pycoders.com/issues/501

#501 – NOVEMBER 30, 2021 View in Browser » Late-Bound Argument Defaults for Python Python supports default values for arguments to functions, but those defaults are evaluated at function-definit
Real Python: Advent of Code: Solving Your Puzzles With Python

Link: https://realpython.com/python-advent-of-code/

Advent of Code is an online Advent calendar where you’ll find new programming puzzles offered each day from December 1st to the 25th. While you can solve the puzzles at any time, the excitement when n
Python for Beginners: Preorder Tree Traversal Algorithm in Python

Link: https://www.pythonforbeginners.com/data-structures/preorder-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 in python. For this, we will use the preorder tree trave
PyCharm: Introducing PyCharm 2021.3!

Link: https://blog.jetbrains.com/pycharm/2021/12/2021-3/


We’ve been working hard to deliver features in PyCharm that will make you more productive and your coding smoother. This release cycle introduces Poetry support, the new FastAPI project type, the Bet
Paolo Amoroso: An Intel 8080 Assembly Suite in Python

Link: http://blog.paoloamoroso.com/2021/11/an-intel-8080-assembly-suite-in-python.html

A blog post I stumbled upon made me start a new project, crank out lots of Python code, slip down a rabbit hole of arcane and fascinating corners of retrocomputing, and overflow with fun.The project i
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