Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python for Beginners: Split String Into Characters in Python

Link: https://www.pythonforbeginners.com/basics/split-string-into-characters-in-python

Strings are used for text manipulation in Python. In this article, we will discuss different ways to split a string into characters in python.
Table of ContentsSplit String Into Characters Using for L
PyCharm: PyCharm 2023.1: Early Access Program Is Open!

Link: https://blog.jetbrains.com/pycharm/2023/01/2023-1-eap-1/

We are opening the Early Access Program for PyCharm 2023.1! We invite you to take part and help us fine-tune the features we plan to include in PyCharm 2023.1.

If you haven’t yet participated in one
PyBites: Testing membership and empty strings

Link: https://pybit.es/articles/testing-membership-and-empty-strings/

I was working on one of the exercises on the Pybites platform (Bite 29) and encountered a situation I didn’t understand. I needed to check a set of inputs to see if they were alphanumeric or not as pa
CodersLegacy: Python Error: “most likely due to a circular import” (Solution)

Link: https://coderslegacy.com/circular-import-error-with-solution/

In this article we will discuss the Circular Import Error that can occur when importing modules in Python, and how to solve it.



What is a Circular Import?
Circular imports in Python can be a tricky
Kushal Das: Johnnycanencrypt 0.13.0 released

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


I just now released
v0.13.0
of my johnnycanencrypt project. It is a Python module written in Rust, which
provides OpenPGP functionality including allows usage of Yubikey 4/5 as
smartcards. From 0.12.
Jonathan Street: Updating FIDO U2F to WebAuthn

Link: http://jonathanstreet.com/blog/update-fido-u2f-to-webauthn/

Back in 2018 I published a post on adding support for FIDO U2F second factor authentication to a flask application. At the time, FIDO U2F was a relatively new technology and, based in part on its deve
John Ludhi/nbshare.io: Calculate Stock Options Max Pain Using Data From Yahoo Finance With Python

Link: https://www.nbshare.io/notebook/318554522/Calculate-Stock-Options-Max-Pain-Using-Data-From-Yahoo-Finance-With-Python/







Calculate Stock Options Max Pain Using Data From Yahoo Finance With Python










Max Pain is a theory that suggests that the price of an option contract will tend to move towards a certain s
Codementor: How I learned Python (from scratch) 🐍

Link: https://www.codementor.io/niklasfuerderer/how-i-learned-python-from-scratch-219p31iw6d

About me
Please see my background section in my profile 🤓
Why I wanted to learn Python (from scratch) 🐍
I first became interested in learning Python when I was searching for a programming language...
death and gravity: reader 3.4 released – 5 years, 2000 commits

Link: https://death.andgravity.com/reader-3-4

Hi there!
I'm happy to announce version 3.4 of reader, a Python feed reader library.
More importantly, reader is now 5 years old!
5 years, 2000 commits #
3.3, released in December, marks reader's 5th
Glyph Lefkowitz: A Very Silly Program

Link: https://blog.glyph.im/2023/01/a-very-silly-program.html

One of the persistently lesser-known symptoms of ADHD is
hyperfocus. It is
sometimes quasi-accurately described as a “superpower”1 2, which it can
be. In the right conditions, hyperfocus is the abili
Mike Driscoll: PyDev of the Week: Fabio Pliger

Link: https://www.blog.pythonlibrary.org/2023/01/23/pydev-of-the-week-fabio-pliger/

This week we welcome Fabio Pliger (@b_smoke) as our PyDev of the Week! Fabio is the creator and tech lead of PyScript. You can see what else Fabio is working on over at GitHub.
Let’s spend a few momen
Python for Beginners: Iterate Rows in a Pandas Dataframe

Link: https://www.pythonforbeginners.com/basics/iterate-rows-in-a-pandas-dataframe

We use pandas dataframes to handle tabular data in python. In this article, we will discuss different ways to iterate rows in a pandas dataframe.
Table of ContentsIterate a Pandas Dataframe Using iloc
Real Python: Linear Algebra in Python: Matrix Inverses and Least Squares

Link: https://realpython.com/python-linear-algebra/

Linear algebra is an important topic across a variety of subjects. It allows you to solve problems related to vectors, matrices, and linear equations. In Python, most of the routines related to this s
Python Morsels: Reading a CSV file in Python

Link: https://www.pythonmorsels.com/csv-reading/

You don't need third-party libraries to read CSV file in Python! Python's csv module includes helper functions for reading CSV files, tab-delimited files, and other delimited data files.



Table of c
Will Kahn-Greene: Bleach 6.0.0 release and deprecation

Link: https://bluesock.org/~willkg/blog/dev/bleach_6_0_0_deprecation.html

What is it?
Bleach is a Python library for sanitizing
and linkifying text from untrusted sources for safe usage in HTML.
Bleach v6.0.0 released!
Bleach 6.0.0 cleans up some issues in linkify and with
Real Python: Python Basics: Object-Oriented Programming

Link: https://realpython.com/courses/python-basics-oop/

OOP, or object-oriented programming, is a method of structuring a program by bundling related properties and behaviors into individual objects.
Conceptually, objects are like the components of a syst
Brian Okken: Fixing Circular Imports in Python with Protocol

Link: https://pythontest.com/fix-circular-import-python-typing-protocol/

The problem started when I had two classes that needed to talk to each other. Sometimes, classes need to talk to each other in both directions.
The following example is made up, but mostly behaves lik
PyCoder’s Weekly: Issue #561 (Jan. 24, 2023)

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

#561 – JANUARY 24, 2023 View in Browser » How to Get and Use the Current Time in Python In this tutorial, you’ll be getting the current time in Python. You’ll get your hands on a datetime object
Python Bytes: #320 The Bug Is In The JavaScript

Link: https://pythonbytes.fm/episodes/show/320/the-bug-is-in-the-javascript

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

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p