Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Level Order Tree Traversal in Python

Link: https://www.pythonforbeginners.com/data-structures/level-order-tree-traversal-in-python

Just like we traverse a python dictionary, a list or tuple to access its elements, We can also traverse binary trees to access their elements. There are four tree traversal algorithms namely In-order
Matt Layman: User File Use

Link: https://www.mattlayman.com/understand-django/media-files/

In the last Understand Django article, you learned about Django settings and how to manage the configuration of your application. We also looked at tools to help you to be extra effective with setting
Real Python: Using Data Classes in Python

Link: https://realpython.com/courses/python-data-classes/

One new and exciting feature that came out in Python 3.7 was the data class. A data class is a class typically containing mainly data, although there aren’t really any restrictions.
With data classes,
Test and Code: 164: Debugging Test Failures with pytest

Link: https://testandcode.com/164

An overview of the pytest flags that help with debugging.
From Chapter 13, Debugging Test Failures, of Python Testing with pytest, 2nd edition.
pytest includes quite a few command-line flags that are
PyCoder’s Weekly: Issue #490 (Sept. 14, 2021)

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

#490 – SEPTEMBER 14, 2021 View in Browser » Applying PEP 8 in Practice “Two recent threads on the python-ideas mailing list have overlapped to a certain extent; both referred to Python’s [PEP 8]
Quansight Labs Blog: Not a checklist: different accessibility needs in JupyterLab

Link: https://labs.quansight.org/blog/2021/09/not-a-checklist/

JupyterLab Accessibility Journey Part 3
In a pandemic, the template joke-starter “x and y walk into a bar” seems like
a stretch from my reality. So let’s try this remote version:
Two community member
Zato Blog: Enterprise API integrations under Windows

Link: https://zato.io/blog/posts/windows-api-integrations.html

If you are on Windows, looking for an integration platform to connect your APIs, systems, applications, backend resources or mobile apps, I am happy to let you know that Zato
now supports Windows nati
John Ludhi/nbshare.io: PyTorch Tutorial A Complete Use Case Example

Link: https://www.nbshare.io/notebook/512285365/PyTorch-Tutorial-A-Complete-Use-Case-Example/











PyTorch Tutorial: A Complete Use-case Example








Introduction








This tutorial shows a full use-case of PyTorch in order to explain several concepts by example.
The application wil
PyCharm: PyCharm 2021.2.2 Is Out!

Link: http://feedproxy.google.com/~r/Pycharm/~3/90AVCAF_GHs/

Download PyCharm 2021.2.2
The second minor release of PyCharm 2021.2 contains multiple bug fixes.

cProfile call graph never loads. [PY-49917]
Requirements.txt blank file is being created. [PY-41953]
Mike Driscoll: Getting Started with ReportLab’s Canvas

Link: https://www.blog.pythonlibrary.org/2021/09/15/getting-started-with-reportlabs-canvas/

ReportLab is a very powerful library. With a little effort, you can make pretty much any layout that you can think of. I have used it to replicate many complex page layouts over the years. In this tut
Real Python: Build a Personal Diary With Django and Python

Link: https://realpython.com/django-diary-project-python/

A diary is a personal safe space. With the help of Django, you can create a diary on your own computer without storing data in anyone else’s cloud. By following along with the project below, you’ll se
Python for Beginners: Find the Height of a Binary Tree

Link: https://www.pythonforbeginners.com/data-structures/find-the-height-of-a-binary-tree

Just like we find the length of a list or the number of items in a python dictionary, we can find the height of a binary tree. In this article, we will formulate an algorithm to find the height of a b
testmon: Version 1.2 is out!

Link: https://testmon.org/testmon_1.2_is_out_intro.html

pytest-testmon version 1.2 is out and up on PyPI.
Re-executing failed tests is a main feature of the update.
To find more go to: Version 1.2. is out!
Mike Driscoll: Case / Switch Comes to Python in 3.10

Link: https://www.blog.pythonlibrary.org/2021/09/16/case-switch-comes-to-python-in-3-10/

Python 3.10 is adding a new feature called Structural Pattern Matching, which is defined in PEP 634 and has a tutorial on the topic in PEP 636. Structural Pattern Matching brings the case / switch sta
Stack Abuse: Split, Merge and Rotate PDF Documents in Python with borb

Link: https://stackabuse.com/split-merge-and-rotate-pdf-documents-in-python-with-borb/

Introduction
The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and ren
Python Bytes: #250 skorch your scikit-learn together with PyTorch

Link: https://pythonbytes.fm/episodes/show/250/skorch-your-scikit-learn-together-with-pytorch

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

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

<p><strong>About the show</strong></p>
Real Python: The Real Python Podcast – Episode #78: Learning Python Through Illustrated Stories

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

Are you a visual learner? Does it help to have programming concepts shared with concrete examples and images? Would you like to see if your child might be interested in programming? This week on the s
Mike Driscoll: Python 101 – Importing Modules (Video)

Link: https://www.blog.pythonlibrary.org/2021/09/17/python-101-importing-video/

In this video tutorial, you will learn all about how to import modules using the import and from keywords

Related Tutorials


Python 101: All about imports


Creating a Simple Wizard with wxPython (V
Python for Beginners: Add an item to a dictionary in Python

Link: https://www.pythonforbeginners.com/dictionary/add-an-item-to-a-dictionary-in-python

A dictionary in python is a data structure that stores data in the form of key-value pairs. The key-value pairs are also called items. The key-value pairs in each dictionary are separated by a colon “