Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
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