Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ItsMyCode: [Solved] Python can’t Multiply Sequence by non-int of type ‘float’

Link: https://itsmycode.com/solved-python-cant-multiply-sequence-by-non-int-of-type-float/

ItsMyCode |
The TypeError: can’t multiply sequence by non-int of type ‘float’ occurs if we use the multiply operator between a string and float value. 
In this tutorial, we will learn what exactly Typ
Python for Beginners: String Slicing in Python

Link: https://www.pythonforbeginners.com/strings/string-slicing-in-python

Strings are one of the most used data structures in Python. We process all the text data using strings in Python. In this article, we will look at ways to extract a sub-string from a given string usin
PyCharm: PyCharm 2021.3.1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2021/12/2021-3-1/

The first minor release of PyCharm 2021.3 contains multiple bug fixes:
We fixed a bug that prevented Django to run inside WSL. [PY-51679]We fixed a bug where PyCharm suggested importing abstract colle
PyCharm: Early Access PyCharm Podcast: PyCharm and the 2021.3 release

Link: https://blog.jetbrains.com/pycharm/2021/12/pycharm-and-the-2021-3-release/


In this episode, Nafiul talks to Andrey Vlasovskikh, PyCharm’s team lead, and Aleksei Kniazev, responsible for PyCharm’s web frameworks support, about the 2021.3 PyCharm release. They talked about th
Kushal Das: Johnnycanencrypt 0.6.0 released

Link: https://kushaldas.in/posts/johnnycanencrypt-0-6-0-released.html


A few days ago I released 0.6.0 of
Johnnycanencrypt.
It is a Python module written in Rust for OpenPGP using the amazing
sequoia-pgp library. It allows you to access/use Yubikeys (without gpg-agent)
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