Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Jaime Buelta: “Python Architecture Patterns” book announced!

Link: https://wrongsideofmemphis.com/2021/12/04/python-architecture-patterns-book-announced/

We are getting close to the end of the year, but I have great news! A new Python book is on the way, and will be released soon. Current software systems can be extremely big and complex, and Software
PyPy: Error Message Style Guides of Various Languages

Link: https://www.pypy.org/posts/2021/12/error-message-style-guides.html

Error Message Style Guides of Various Languages
PyPy has been trying to produce good SyntaxErrors and other errors for
a long time. CPython has also made an enormous push to improve its
SyntaxErrors i
ItsMyCode: Remove Character From String Python

Link: https://itsmycode.com/remove-character-from-string-python/

ItsMyCode |
We can remove a character from String in Python using replace() and translate() methods. In this tutorial, let’s look at How to remove a character from a string in Python with examples.
Py
ItsMyCode: Python Print to File

Link: https://itsmycode.com/python-print-to-file/

ItsMyCode |
We always use print statements in Python to display the output in the console or command line terminal. However, sometimes we want to change this behavior to print to a text file instead o
ItsMyCode: Python Split list into chunks

Link: https://itsmycode.com/python-split-list-into-chunks/

ItsMyCode |
In this tutorial, you will learn how to split a list into chunks in Python using different ways with examples.
Python Split list into chunks
Lists are mutable and heterogenous, meaning the
Sandipan Dey: Implementing a few algorithms with python

Link:

In this blog, we shall focus on implementing a few famous of algorithms with python – the algorithms will be from various topics, such as graph theory, compiler construction, theory of computation, nu
ItsMyCode: How To Convert Python String To Array

Link: https://itsmycode.com/how-to-convert-python-string-to-array/

ItsMyCode |
In Python, we do not have an in-built array data type. However, we can convert Python string to list, which can be used as an array type.
Python String to Array
In the earlier tutorial, w
Mike Driscoll: PyDev of the Week: Fanilo Andrianasolo

Link: https://www.blog.pythonlibrary.org/2021/12/06/pydev-of-the-week-fanilo-andrianasolo/

This week we welcome Fanilo Andrianasolo (@andfanilo) as our PyDev of the Week! Fanilo is a core developer for several Streamlit extensions and a Community Ambassador for Streamlit itself. He also has
Real Python: Prettify Your Data Structures With Pretty Print in Python

Link: https://realpython.com/python-pretty-print/

Dealing with data is essential for any Pythonista,
but sometimes that data is just not very pretty.
Computers don’t care about formatting,
but without good formatting, humans may find
something hard t
Python Morsels: Turn a list into a string

Link: https://www.pythonmorsels.com/topics/turn-a-list-into-a-string/




Let's talk about how you can convert a list into a string in Python.
Converting a list into a string with str
Let's say we have a list of strings called things:
>>> things = ["apples", "ducks", "le
Python Insider: Python 3.10.1 is available

Link: https://pythoninsider.blogspot.com/2021/12/python-3101-is-available.html

I hope you like bug fixes, because we have a whole shipment of them! Python 3.10.1 is the first maintenance release of Python 3.10 as we have packed more than 330 commits of fixes and general improvem
Django Weblog: Django security releases issued: 3.2.10, 3.1.14, and 2.2.25

Link: https://www.djangoproject.com/weblog/2021/dec/07/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 3.2.10,
Django 3.1.14, and
Django 2.2.25.
These release addresses the security issue detailed below. We encourage all
Django Weblog: Django 4.0 released

Link: https://www.djangoproject.com/weblog/2021/dec/07/django-40-released/

The Django team is happy to announce the release of Django 4.0.
The release notes cover the abundance of new features in detail, but a few highlights are:

The new RedisCache backend provides built-in
Python⇒Speed: Creating a better flamegraph visualization

Link: https://pythonspeed.com/articles/a-better-flamegraph/

How do you visualize performance data so you can easily spot bottlenecks?
Brendan Gregg’s flamegraphs are a great solution, adopted by a large number of profilers and performance tools.
However, even
Python Software Foundation: A message from the PSF's outgoing Executive Director

Link: http://pyfound.blogspot.com/2021/12/a-message-from-psfs-outgoing-executive.html

Today is my last day at the PSF. It's been an honor and a pleasure serving the Python community for over a decade. It's a very bittersweet feeling for me. Although I recognized that I needed change, t
Real Python: Binary, Bytes, and Bitwise Operators in Python

Link: https://realpython.com/courses/binary-bytes-bitwise-operators/

Computers store all kinds of information as a stream of binary digits called bits. Whether you’re working with text, images, or videos, they all boil down to ones and zeros. Python’s bitwise operators
PyCoder’s Weekly: Issue #502 (Dec. 7, 2021)

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

#502 – DECEMBER 7, 2021 View in Browser » Advent of Code: Solving Your Puzzles With Python Advent of Code is an online advent calendar that shares new programming puzzles each day from December
Python Engineering at Microsoft: Changes to How We Bundle Python in Visual Studio

Link: https://devblogs.microsoft.com/python/changes-to-how-we-bundle-python-in-visual-studio/

With the release of Visual Studio 2022, we are making changes to how we support installing Python runtimes from Visual Studio Setup, to help reconcile the fact that the lifetime of Python versions ava
Mike Driscoll: A Tour of Python's itertools Library

Link: https://www.blog.pythonlibrary.org/2021/12/07/a-tour-of-pythons-itertools-library/

Python provides a great module for creating your own iterators. The module I am referring to is itertools. The tools provided by itertools are fast and memory efficient. You will be able to take these
Django Weblog: 2022 DSF Board Election Results

Link: https://www.djangoproject.com/weblog/2021/dec/08/2022-dsf-board-election-results/

Here are the results of this year's election in order of most votes:

Anna Makarudze
William Vincent
Aaron Bassett
Kátia Nakamura
Chaim Kirby
Mfon Eti-mfon
Žan Anderle

Congratulations to our winners.