Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Django Weblog: Announcing DSF Working Groups

Link: https://www.djangoproject.com/weblog/2023/oct/13/announcing-dsf-working-groups/

Today we’re announcing some changes to how the DSF gets work done. We
want to make it easier for people to contribute meaningfully to the
DSF’s mission. Previously, you more or less needed to be a boa
Django Weblog: 2024 DSF Board Nominations

Link: https://www.djangoproject.com/weblog/2023/oct/13/2024-dsf-board-nominations/

Nominations are open for the 2024 Django Software Foundation Board of Directors.
In 2023 we introduced a staggered term for directors, which means at this time there are three positions currently open
PyCharm: PyCharm 2023.2.3 Is Out!

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

You can update to this version from inside the IDE, using the Toolbox App, or using snaps if you are an Ubuntu user. You can also download it from our website.
Download PyCharm 2023.2.3
PEP 701: Forma
Django Weblog: Announcing DjangoCon Europe 2024 in Vigo, Spain!

Link: https://www.djangoproject.com/weblog/2023/oct/14/djangocon-europe-2024/

We're thrilled to announce the much-anticipated return of DjangoCon Europe, set to take place in the vibrant city of Vigo, Spain, in 2024!
DjangoCon Europe has been a cornerstone of the Django communi