Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Guide to the K-Nearest Neighbors Algorithm in Python and Scikit-Learn

Link: https://stackabuse.com/k-nearest-neighbors-algorithm-in-python-and-scikit-learn/

Introduction
The K-nearest Neighbors (KNN) algorithm is a type of supervised machine learning algorithm used for classification, regression as well as outlier detection. It is extremely easy to implem
Talk Python to Me: #378: Flet: Flutter apps in Python

Link: https://talkpython.fm/episodes/show/378/flet-flutter-apps-in-python

Have you heard of Flutter? It's a modern and polished UI framework to write mobile apps, desktop apps, and even web apps. While interesting, you may have kept your distance because Flutter is a Dart l
Python for Beginners: Insert Element in A Sorted List in Python

Link: https://www.pythonforbeginners.com/basics/insert-element-in-a-sorted-list-in-python

Normally, we add elements to the end of a list in python. However, if we are given a sorted list and we are asked to maintain the order of the elements while inserting a new element, it might become a
Python Circle: The Rising Popularity of Python

Link: https://pythoncircle.com/post/763/the-rising-popularity-of-python/

The rising popularity of Python, why is python so popular, what is the future of Python, Is python going to be the top choice by 2025,
PyCharm: PyCharm 2022.2.1 Is Out

Link: https://blog.jetbrains.com/pycharm/2022/08/2022-2-1-2/

The first minor release for PyCharm 2022.2 is available with the following fixes:
We’ve enabled the new UI for setting up an interpreter via the Show all popup menu in the Python Interpreter popup win
Real Python: How to Check if a Python String Contains a Substring

Link: https://realpython.com/python-string-contains-substring/

If you’re new to programming or come from a programming language other than Python, you may be looking for the best way to check whether a string contains another string in Python.
Identifying such su
Anarcat: Alternatives MPD clients to GMPC

Link: https://anarc.at/blog/2022-08-22-gmpc-alternatives/

GMPC (GNOME Music Player Client) is a audio player based on MPD
(Music Player Daemon) that I've been using as my main audio player for
years now.
Unfortunately, it's marked as "unmaintained" in the of
Mike Driscoll: How to Convert Images to PDFs with Python and Pillow (Video)

Link: https://www.blog.pythonlibrary.org/2022/08/22/how-to-convert-images-to-pdfs-with-python-and-pillow-video/

Learn how to convert one or more of your photos into a PDF using the Python programming language and the Pillow package in Mike Driscoll's latest video tutorial!

Learn more about working with PDFs in
PyBites: Making plots in your terminal with plotext

Link: https://pybit.es/articles/terminal-plotting-with-plotext/

In this blog post a quick script to plot the frequency of our blog articles in the terminal. It’s good to see that we’re getting back on track
The code gist is here.
First we import the libraries we
Zato Blog: How to invoke REST APIs from Zato services

Link: https://zato.io/blog/posts/invoke-rest-api.html

This Zato article is a companion to
an earlier post

previously, we covered accepting REST API calls and now we will look at how Zato services can invoke external REST endpoints.

Outgoing connections
The Digital Cat: Data Partitioning and Consistent Hashing

Link: https://www.thedigitalcatonline.com/blog/2022/08/23/data-partitioning-and-consistent-hashing/

This post is an introduction to partitioning, a technique for distributed storage systems, and to consistent hashing, a specific partitioning algorithm that promotes even distribution of data, while a
Real Python: Building a URL Shortener With FastAPI and Python

Link: https://realpython.com/courses/url-shortener-fastapi/

In this video course, you’ll build a URL shortener with Python and FastAPI.
URLs can be extremely long and not user-friendly.
This is where a URL shortener can come in handy.
A URL shortener reduces t
PyCoder’s Weekly: Issue #539 (Aug. 23, 2022)

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

#539 – AUGUST 23, 2022 View in Browser » Understanding async Python for the Web “Recently Django 4.1 was released, and the thing most people seem interested in is the expanded async support. The
John Ludhi/nbshare.io: Join or Merge Lists In Python

Link: https://www.nbshare.io/notebook/566135242/Join-or-Merge-Lists-In-Python/








Join or Merge Lists In Python








In this notebook, we will go through the following topics








Join / Merge two lists in python using + operator.
Join / Merge two lists in python using
Python for Beginners: Delete Attribute From an Object in Python

Link: https://www.pythonforbeginners.com/basics/delete-attribute-from-an-object-in-python

Python is an object-oriented programming language. We often use objects defined with custom classes while programming. In this article, we will discuss how we can delete an attribute from an object in
Real Python: Python's exec(): Execute Dynamically Generated Code

Link: https://realpython.com/python-exec/

Python’s built-in exec() function allows you to execute arbitrary Python code from a string or compiled code input.
The exec() function can be handy when you need to run dynamically generated Python c
Python Bytes: #298 "Unstoppable" Python

Link: https://pythonbytes.fm/episodes/show/298/unstoppable-python

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

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

<p><strong>About the show</strong></p>
Stack Abuse: Big O Notation and Algorithm Analysis with Python Examples

Link: https://stackabuse.com/big-o-notation-and-algorithm-analysis-with-python-examples/

Introduction
There are usually multiple ways to solve the problem using a computer program. For instance, there are several ways to sort items in an array - you can use merge sort, bubble sort, insert
Anarcat: One dead Purism laptop

Link: https://anarc.at/blog/2022-08-25-one-dead-purism-laptop/

The "série noire" continues. I ordered my first Purism Librem 13v4
laptop in April 2019 and it arrived, unsurprisingly, more than three
weeks later. But more surprisingly, it did not work at all: a pr