Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Catalin George Festila: Python 3.8.5 : Linked List - part 001.

Link: http://python-catalin.blogspot.com/2020/09/python-385-linked-list-part-001.html

In computer science, a linked list is a linear collection of data elements whose order is not given by their physical placement in memory. see wikipedia.org.In this tutorial I will show you how these
ListenData: Python : 10 Ways to Filter Pandas DataFrame

Link: https://www.listendata.com/2019/07/how-to-filter-pandas-dataframe.html

In this article, we will cover various methods to filter pandas dataframe in Python. Data Filtering is one of the most frequent data manipulation operation. It is similar to WHERE clause in SQL or you
Doug Hellmann: sphinxcontrib.datatemplates 0.7.0

Link: http://feeds.doughellmann.com/~r/doughellmann/python/~3/w3jarj8Ol3M/

sphinxcontrib.datatemplates is an extension for Sphinx to render parts of reStructuredText pages from data files in formats like JSON, YAML, XML, and CSV. What’s new in 0.7.0? add release history to d
Brett Cannon: Unravelling unary arithmetic operators

Link: https://snarky.ca/unravelling-unary-arithmetic-operators/

In this entire blog series on Python's syntactic sugar, this might end up being the most boring post. 😄 We will cover the unary arithmetic operators: -, +, and ~ (inversion if you don't happen to be f
ListenData: How to rename columns in pandas dataframe

Link: https://www.listendata.com/2020/09/how-to-rename-columns-in-pandas.html

In this tutorial, we will cover various methods to rename columns in pandas dataframe in Python. Renaming or changing the names of columns is one of the most common data wrangling task. If you are not
IslandT: Create the function which converts a given string into an md5 hash and return the value in the hexadecimal format

Link: https://kibiwebgeek.com/create-the-function-which-converts-a-given-string-into-an-md5-hash-and-return-the-value-in-the-hexadecimal-format/

When you sign up for an account somewhere, some websites do not actually store your password in their databases. Instead, they will transform your password into something else using a cryptographic ha
ListenData: How to rename columns in Pandas Dataframe

Link: https://www.listendata.com/2020/09/How-to-rename-columns-in-Pandas.html

In this tutorial, we will cover various methods to rename columns in pandas dataframe in Python. Renaming or changing the names of columns is one of the most common data wrangling task. If you are not
"CodersLegacy": What are Dependencies in Programming

Link: https://coderslegacy.com/what-are-dependencies-in-programming/

This article explains what Dependencies in Programming mean.
This article is going to be a very informative read no matter what kind of programmer you are. In fact, even if you aren’t a programmer yo
Evennia: Creating Evscaperoom, part 1

Link: http://evennia.blogspot.com/2019/05/creating-evscaperoom-part-1.html

Over the last month (April-May 2019) I have taken part in the Mud Coder's Guild Game Jam "Enter the (Multi-User) Dungeon". This year the theme for the jam was One Room.The result was Evscaperoom, an t
Evennia: Creating Evscaperoom, part 2

Link: http://evennia.blogspot.com/2019/05/creating-evscaperoom-part-2.html

The Jester, your 'adversary'This is part two of my post-mortem dev-blog about Evscaperoom, the multiplayer, text-based 'escape room' I wrote in Python and Evennia. You can read the first part of the d
John Cook: Descartes and Toolz

Link: https://www.johndcook.com/blog/2020/09/20/descartes-and-toolz/

I was looking recently at the Python module toolz, a collection of convenience functions. A lot of these functions don’t do that much. They don’t save you much code, but they do make your code more re
John Cook: Searching Greek and Hebrew with regular expressions

Link: https://www.johndcook.com/blog/2020/09/20/unicode-regex/

According to the Python Cookbook, “Mixing Unicode and regular expressions is often a good way to make your head explode.” It is thus with fear and trembling that I dip my toe into using Unicode with G
Ned Batchelder: Scriv

Link: https://nedbatchelder.com//blog/202009/scriv.html

I’ve written a tool for managing changelog files, called
scriv. It focuses on a simple
workflow, but with lots of flexibility.I’ve long felt that it’s enormously beneficial for engineers to write abo
Gocept Weblog: Presentation: We have nearly one million lines of Python 2 code in production — and now?

Link: https://blog.gocept.com/2020/09/03/presentation-we-have-nearly-one-million-lines-of-python-2-code-in-production-and-now/

Still running Python 2 code in production is like steering a ship without radar in thick fog: You don’t know, which obstacle you will hit next. But there are ways to see the sun again – even for large
The Digital Cat: TDD in Python with pytest - Part 5

Link: https://www.thedigitalcatonline.com/blog/2020/09/21/tdd-in-python-with-pytest-part-5/

This is the fifth and last post in the series "TDD in Python with pytest" where I develop a simple project following a strict TDD methodology. The posts come from my book Clean Architectures in Python
Stack Abuse: Replace Occurrences of a Substring in String with Python

Link: https://stackabuse.com/replace-occurrences-of-a-substring-in-string-with-python/

Introduction
Replacing all or n occurrences of a substring in a given string is a fairly common problem of string manipulation and text processing in general. Luckily, most of these tasks are made eas
Chris Moffitt: PB Python Article Roadmap

Link: https://pbpython.com/roadmap.html


Introduction
September 17th is Practical Business Python’s anniversary. Last year, I reflected on 5
years of growth. This year, I wanted to take a step back and develop a guide to guide readers
throu
Test and Code: 131: Test Smarter, Not Harder

Link: https://testandcode.com/131

Some people avoid writing tests. Some drudge through it painfully.
There is a better way.
In this episode, I'm going to share some advice from Luke Plant on how to "Test Smarter, Not Harder".Sponsored
Andrew Dalke: Molfile "S SKP"

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/21/molfile_s__skp.html



In the last couple of essays I described some of the parts
of a SDF record then pointed out some of the ways
to break simple SDF record tokenizers. In this essay I'll point
out an documentation curi