Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Python News: What's New From September 2023

Link: https://realpython.com/python-news-september-2023/

As the leaves turned yellow and fall set in, the Python community prepared for the release of Python 3.12 in early October. This new version of the most popular programming language brings several exc
TypeThePipe: Sort in Python Polars. Arrange your DataFrames and Series

Link: https://typethepipe.com/vizs-and-tips/python-polars-sort/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
EuroPython Society: EPS Board 2023-2024

Link: https://www.europython-society.org/eps-board-2023-2024/

We’re happy to announce our new board for the next term 2023-2024:Alexander HendorfAnders Hammarquist (Treasurer)Artem Kisloskiy (Vice Chair) Artur Czepiel (Chair)Laís CarvalhoSangharshanan Veera Seba
Real Python: Using Python's min() and max()

Link: https://realpython.com/courses/python-min-max/

Python’s built-in min() and max() functions come in handy when you need to find the smallest and largest values in an iterable or in a series of regular arguments. Even though these might seem like fa
Stack Abuse: Fix "ModuleNotFoundError: No module named 'pip'" in Python

Link: https://stackabuse.com/fix-modulenotfounderror-no-module-named-pip-in-python/

Introduction
As a Python developer, you may have encountered the error ModuleNotFoundError: No module named 'pip'. This error is typically thrown when you attempt to use pip, Python's package installe
PyCoder’s Weekly: Issue #598 (Oct. 10, 2023)

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

#598 – OCTOBER 10, 2023 View in Browser » Python’s tuple Data Type: A Deep Dive With Examples In Python, a tuple is a built-in data type that allows you to create immutable sequences of values.
Python Bytes: #356 Ripping from PyPY

Link: https://pythonbytes.fm/episodes/show/356/ripping-from-pypy

<strong>Topics covered in this episode:</strong><br>

<ul>
<li><a href="https://www.psycopg.org/psycopg3/"><strong>Psycopg 3</strong></a></li>
<li><a href="https://github.com/konradhalas/dacite"><str
PyBites: Using Python in Excel with PyXLL

Link: https://pybit.es/articles/using-python-in-excel-with-pyxll/

In this podcast episode we talk with Tony Roberts, creator of PyXLL (pronounced “pixel”). 
Listen here:

Also released on our YouTube channel:


We dive into the backstory of this Python Excel Add-in,
Daniel Roy Greenfeld: TIL: Capture stdout & stderr with pytest

Link: https://daniel.feldroy.com/posts/til-2023-10-capture-stdout-stderr-with-pytest

I wish I knew this earlier, but I know it now thanks to Cody Antunez. Here it is:
import sys

def test_myoutput(capsys): # or use "capfd" for fd-level

# Write some text
print("hello")
sy
TypeThePipe: Mastering Python Polars json manipulation. Do it in an easy and robust way!

Link: https://typethepipe.com/vizs-and-tips/python-polars-json-manipulation/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
PyCharm: 2023 and Beyond: The Future of Data Science Told By 79,306 People

Link: https://blog.jetbrains.com/pycharm/2023/10/future-of-data-science/

Data science has been the hottest thing for a while now, but it still continues to be a major talking point even today. In fact, according to the U.S. Bureau of Labor Statistics, it’s estimated that a
Real Python: How to Sort Unicode Strings Alphabetically in Python

Link: https://realpython.com/python-sort-unicode-strings/

Sorting strings in Python is something that you can almost take for granted if you do it all the time. Yet, it can become surprisingly tricky considering all the edge cases lurking in the vast Unicode
Python Anywhere: Outage report 9 October 2023

Link: https://blog.pythonanywhere.com/209/

tl;dr
On 2023-10-09 we had an unplanned outage. While we were preparing our systems for a scheduled system update the
following morning, we faced some issues. These in themselves would not have caused
John Cook: Python code for means

Link: https://www.johndcook.com/blog/2023/10/11/python-agm/

The last couple article have looked at various kinds of mean. The Python code for four of these means is trivial:
gm = lambda a, b: (a*b)**0.5
am = lambda a, b: (a + b)/2
hm = lambda a, b: 2*a*b/(a
PyBites: What The Heck Is Yield For?

Link: https://pybit.es/articles/what-the-heck-is-yield-for/

A question came up recently about the purpose of the Python yield expression and when you should use it.
Consider this silly function that computes a list of integers from 0 to 99 raised to the given
PyCharm: PyCharm 2023.3 EAP 3 Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/10/2023-3-eap-3/

This build brings enhancements to the new type parameter syntax and code assistance for REST_FRAMEWORKS parameters in settings.py.
The Toolbox App is the easiest way to get the EAP builds and keep bot
ListenData: How to Install PyTorch on Windows

Link: https://www.listendata.com/2023/10/how-to-install-pytorch-on-windows.html

This tutorial explains the steps to install PyTorch on Windows.
PyTorch is a free and open source machine learning library developed by Facebook's AI Research lab. It is built on the Torch library and
Python Insider: Python 3.13.0 alpha 1 is now available

Link: https://pythoninsider.blogspot.com/2023/10/python-3130-alpha-1-is-now-available.html

 It’s not a very exciting release (yet), but it’s time for the first alpha of Python 3.13 anyway!https://www.python.org/downloads/release/python-3130a1/This is an early developer preview of Python 3.1
Real Python: The Real Python Podcast – Episode #176: Building Python Best Practices and Fundamental Skills

Link: https://realpython.com/podcasts/rpp/176/

What fundamental developer skills are new Python users missing? What best practices might developers without a computer science background be lacking? Christopher Trudeau is back on the show this week