Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Parsing XML with BeautifulSoup in Python

Link: https://stackabuse.com/parsing-xml-with-beautifulsoup-in-python/

Introduction
Extensible Markup Language (XML) is a markup language that's popular because of the way it structures data. It found usage in data transmission (representing serialized objects) and confi
Michał Bultrowicz: Make and entr for code validation during editing

Link: https://bultrowicz.com/continous_validation_with_make_and_entr/

For a while now, I’ve been wondering how to combine entr
(which automatically runs commands on file changes)
with the way I setup project validation (both for CI/CD and for local developer usage) with
Python for Beginners: Factors Of A Number In Python

Link: https://www.pythonforbeginners.com/basics/factors-of-a-number-in-python

You might have heard about multiples and factors of a number in Python. If you are reading this blog, I can definitely tell you that you are looking to write a program for finding factors of a number.
Zero to Mastery: Python Monthly Newsletter 💻🐍 December 2021

Link: https://zerotomastery.io/blog/python-monthly-newsletter-december-2021/?utm_source=python-rss-feed

25th issue of the Python Monthly Newsletter! Read by 20,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a
Stack Abuse: Count Number of Word Occurrences in List Python

Link: https://stackabuse.com/count-number-of-word-occurrences-in-list-python/

Introduction
Counting the word frequency in a list element in Python is a relatively common task - especially when creating distribution data for histograms.
Say we have a list ['b', 'b', 'a'] - we ha
Python GUIs: Creating Dialogs and Alerts in PySide6 — Notify your users and ask for their input (updated for PySide6)

Link: https://www.pythonguis.com/tutorials/pyside6-dialogs/

Dialogs are useful GUI components that allow you to communicate with the user (hence the name dialog). They are commonly used for file Open/Save, settings, preferences, or for functions that do not fi
ListenData: Learn Python for Data Science

Link: https://www.listendata.com/2020/10/learn-python-for-data-science.html

This tutorial would help you to learn Data Science with Python by examples. It is designed for beginners who want to get started with Data Science in Python. Python is an open source language and it i
Podcast.__init__: A Friendly Approach To Regression Models For Programmers

Link: https://www.pythonpodcast.com/regression-models-friendly-guide-episode-346/

Summary
Statistical regression models are a staple of predictive forecasts in a wide range of applications. In this episode Matthew Rudd explains the various types of regression models, when to use th
Kushal Das: 2021 blog review

Link: https://kushaldas.in/posts/2021-blog-review.html


Last year I wrote only a few blog posts, 19 exactly. That also reduced the
views, to around 370k from 700k year before (iirc).
The post about Getting TLS certificates for Onion services
was the highe
Real Python: Build a Social Network With Django – Part 1

Link: https://realpython.com/django-social-network-1/

In this four-part tutorial series, you’ll build a social network with Django that you can showcase in your portfolio. This project will strengthen your understanding of relationships between Django mo
Python Morsels: Reading tracebacks in Python

Link: https://www.pythonmorsels.com/topics/reading-tracebacks-in-python/




When Python encounters an error in your code, it will print out a traceback.
Let's talk about how to use tracebacks to fix our code.
What are tracebacks?
Here we have a program called count.py:
imp
Django Weblog: Django Developers Survey 2021 Results

Link: https://www.djangoproject.com/weblog/2022/jan/03/django-developers-survey-2021-results/

We are excited to share the results of the annual Django Developers Survey which was conducted this year in collaboration with JetBrains. More than 7,000 Django users from almost 140 countries took th
Mike Driscoll: Automating Excel with Python Paperback Now Available!

Link: https://www.blog.pythonlibrary.org/2022/01/03/automating-excel-with-python-paperback-now-available/

My 10th Python book, Automating Excel with Python is now available on Amazon in Paperback or Kindle versions.
In this book, you will learn how to use Python to do the following:

Create Excel spreadsh
Django Weblog: Django security releases issued: 4.0.1, 3.2.11, and 2.2.26

Link: https://www.djangoproject.com/weblog/2022/jan/04/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 4.0.1,
Django 3.2.11, and
Django 2.2.26.
These release addresses the security issues detailed below. We encourage all
Stack Abuse: Object Detection with OpenCV-Python Using a Haar-Cascade Classifier

Link: https://stackabuse.com/object-detection-with-opencv-python-using-a-haar-cascade-classifier/

Introduction
Python has many applications in the field of Computer Vision, typically though Deep Learning. From performing OCR on documents to allowing robots to "see" - Computer Vision is an exciting
Python⇒Speed: CentOS 8 is dead: choosing a replacement Docker image

Link: https://pythonspeed.com/articles/centos-8-is-dead/

For many years, CentOS provided a free, binary-compatible version of RedHat Enterprise Linux (RHEL).
But as of January 2022, CentOS 8 has reached its end-of-life, even as RHEL 8 will still be supporte
Python for Beginners: Find Factorial Of A Number In Python

Link: https://www.pythonforbeginners.com/basics/find-factorial-of-a-number-in-python

In mathematics, we can perform different operations on any given number. One such operation is finding the factorial of a number. In this article, we will discuss what a factorial is and how we can fi
Real Python: Deploy Your Python Script on the Web With Flask

Link: https://realpython.com/courses/deploy-python-script-web-flask/

You wrote a Python script that you’re proud of, and now you want to show it off to the world. But how? Most people won’t know what to do with your .py file. Converting your script into a Python web ap