Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
ListenData: 4 Ways to Correct Grammar with Python

Link: https://www.listendata.com/2024/01/4-ways-to-correct-grammar-with-python.html

This tutorial explains various methods for checking and correcting grammar using Python. Automatic grammar correction helps students, professionals and content creators to make sure their writing foll
Real Python: Primer on Python Decorators

Link: https://realpython.com/primer-on-python-decorators/

In this tutorial on Python decorators, you’ll learn what they are and how to create and use them. Decorators provide a simple syntax for calling higher-order functions.
By definition, a decorator is a
Ned Batchelder: Updated multi-parameter interactive Jupyter notebook

Link: https://nedbatchelder.com/blog/202402/updated_multiparameter_interactive_jupyter_notebook.html

A few years ago I wrote
Multi-parameter Jupyter notebook interaction about a
Jupyter notebook. It worked at the time, but when I dusted it off recently, it
didn’t. I’ve renovated it and cleaned it u
PyCharm: The Release Candidate for PyCharm 2023.3.4 Is Out!

Link: https://blog.jetbrains.com/pycharm/2024/02/2023-3-4-rc/

PyCharm 2023.3.4 Release Candidate is now available!
You can get the latest build from our website, through the free Toolbox App, or via snaps for Ubuntu.

AI Assistant: Generate Python type annotatio
Programiz: Python Program to Compute the Power of a Number

Link: https://www.programiz.com/python-programming/examples/power

In this example, you will learn to compute the power of a number.
Real Python: Create Conway's Game of Life With Python

Link: https://realpython.com/courses/conway-game-of-life-python/

Wouldn’t it be cool to build a Python game that only requires initial user input and then seems to take on a mind of its own, creating mesmerizing patterns along the way? You can do exactly that with
Python⇒Speed: Not just NVIDIA: GPU programming that runs everywhere

Link: https://pythonspeed.com/articles/gpu-without-cuda/

If you’re doing computations on a GPU, NVIDIA is the default, alongside its CUDA libraries.
Some libraries like PyTorch support do support AMD GPUs and Macs.
But from the re-implementations of NumPy,
PyCoder’s Weekly: Issue #616 (Feb. 13, 2024)

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

#616 – FEBRUARY 13, 2024 View in Browser » Using Python for Data Analysis In this tutorial, you’ll learn the importance of having a structured data analysis workflow, and you’ll get the opportun
Talk Python to Me: #449: Building UIs in Python with FastUI

Link: https://talkpython.fm/episodes/show/449/building-uis-in-python-with-fastui

Building web UIs in Python has always been in interesting proposition. On one end, we have a the full web design story with artisanal HTML and CSS. On another end there are several Python platforms th
Python GUIs: Q&A: How Do I Display Images in PyQt6? — Using QLabel to easily add images to your applications

Link: https://www.pythonguis.com/faq/adding-images-to-pyqt6-applications/

Adding images to your application is a common requirement, whether you're building an image/photo viewer, or just want to add some decoration to your GUI. Unfortunately, because of how this is done in
Peter Bengtsson: How to avoid a count query in Django if you can

Link: http://www.peterbe.com/plog/how-to-avoid-a-count-query-in-django-if-you-can

Suppose you have a complex Django QuerySet query that is somewhat costly (in other words slow). And suppose you want to return:

The first N results
A count of the total possible results

So your im
TechBeamers Python: Selenium 4 With Python Guide

Link: https://www.techbeamers.com/selenium-4-with-python-guide/

Selenium 4 has been around now for quite a bit of time. It came out with many new features, some you can directly use while some will benefit you in the background. Despite it is not new anymore but s
Robin Wilson: How to get segment-geospatial working on Microsoft Planetary Computer

Link: https://blog.rtwilson.com/how-to-get-segment-geospatial-working-on-microsoft-planetary-computer/

Just a quick one today to document the solution to a problem I ran into earlier today.
I was using Microsoft Planetary Computer to access some Landsat satellite data, and I wanted to run it through th
PyCon: Support PyLadies: Donate to the PyLadies Charity Auction at PyCon US 2024!

Link: https://pycon.blogspot.com/2024/02/support-pyladies-auction-with-a-donation.html

PyCon US 2024 is quickly approaching and we can’t wait to see all of you there! This year, we are reaching out to our community to help support one of our favorite events: the PyLadies Charity Auction
ListenData: How to use variable in a query in pandas

Link: https://www.listendata.com/2020/12/how-to-use-variable-in-query-in-pandas.html

Suppose you want to reference a variable in a query in pandas package in Python. This seems to be a straightforward task but it becomes daunting sometimes. Let's discuss it with examples in the articl
Armin Ronacher: Rye Grows With UV

Link: http://lucumr.pocoo.org/2024/2/15/rye-grows-with-uv

Two weeks ago I asked the question again about What Rye should be. There has been one thing that I have not
publicly shared before and that is that ever since Rye exists I have also
been talking to C
Python Insider: Python 3.13.0 alpha 4 is now available

Link: https://pythoninsider.blogspot.com/2024/02/python-3130-alpha-4-is-now-available.html

 Python 3.13.0 alpha 4 is now available:
https://www.python.org/downloads/release/python-3130a4/


This is an early developer preview of Python 3.13
Major new features of the 3.13 series, compared to