Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Test and Code: 172: Designing Better Software with a Prototype Mindset

Link: https://testandcode.com/172

A prototype is a a preliminary model of something, from which other forms are developed or copied.
In software, we think of prototypes as early things, or a proof of concept.
We don't often think of p
Real Python: Data Visualization Interfaces in Python With Dash

Link: https://realpython.com/courses/data-viz-with-dash/

In the past, creating analytical web applications was a task for seasoned developers that required knowledge of multiple programming languages and frameworks. That’s no longer the case. Nowadays, you
PyCharm: Last day to buy PyCharm and Support Python!

Link: https://blog.jetbrains.com/pycharm/2021/11/support-python-2021/


You still have 1 day to purchase your PyCharm Pro license at 30% off and have the full amount of your purchase donated directly to the PSF!
Buy PyCharm and Support Python
PyCharm joins the Python Sof
ItsMyCode: ValueError: too many values to unpack (expected 2)

Link: https://itsmycode.com/valueerror-too-many-values-to-unpack-expected-2/

ItsMyCode |
If you get ValueError: too many values to unpack (expected 2), it means that you are trying to access too many values from an iterator. Value Error is a standard exception that can occur i
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