Planet Python RSS
217 subscribers
16.7K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Python's F-String for String Interpolation and Formatting

Link: https://realpython.com/python-f-strings/

Python f-strings offer a concise and efficient way to interpolate variables, objects, and expressions directly into strings. By prefixing a string with f or F, you can embed expressions within curly b
Real Python: Python Exceptions: An Introduction

Link: https://realpython.com/python-exceptions/

Python exceptions provide a mechanism for handling errors that occur during the execution of a program. Unlike syntax errors, which are detected by the parser, Python raises exceptions when an error o
Real Python: How to Check if a Python String Contains a Substring

Link: https://realpython.com/python-string-contains-substring/

To check if a string contains another string in Python, use the in membership operator. This is the recommended method for confirming the presence of a substring within a string. The in operator is in
Real Python: Python String Formatting: Available Tools and Their Features

Link: https://realpython.com/python-string-formatting/

String formatting is essential in Python for creating dynamic and well-structured text by inserting values into strings. This tutorial covers various methods, including f-strings, the .format() method
Talk Python to Me: #487: Building Rust Extensions for Python

Link: https://talkpython.fm/episodes/show/487/building-rust-extensions-for-python

There has been a lot of changes in the low-level Python space these days. The biggest has to be how many projects have rewritten core performance-intensive sections in Rust. Or even the wholesale adop
PyCharm: The State of Data Science 2024: 6 Key Data Science Trends

Link: https://blog.jetbrains.com/pycharm/2024/12/the-state-of-data-science/


Generative AI and LLMs have been hot topics this year, but are they affecting trends in data science and machine learning? What new trends in data science are worth following? Every year, JetBrains c
Python Engineering at Microsoft: Announcing: Azure Developers – Python Day

Link: https://devblogs.microsoft.com/python/azure-developers-python-day-2024/

We’re thrilled to announce Azure Developers – Python Day! Join us on December 5th for a full day of online training and discover the latest services and features in Azure designed specifically for Pyt
Real Python: Basic Input and Output in Python

Link: https://realpython.com/python-input-output/

For a program to be useful, it often needs to communicate with the outside world. In Python, the input() function allows you to capture user input from the keyboard, while you can use the print() func
PyCoder’s Weekly: Issue #658 (Dec. 3, 2024)

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

#658 – DECEMBER 3, 2024 View in Browser » Django Performance: Scaling and Optimization Performance tuning in the context of Django applications is the practice of enhancing both the efficiency a
Kushal Das: Basedpyright and neovim

Link: https://kushaldas.in/posts/basedpyright-and-neovim.html



Basedpyright is a fork of pyright with
various type checking improvements, improved vscode support and pylance
features built into the language server. It has a list of benefits over Pyright.
In ca
Python Insider: Python 3.13.1, 3.12.8, 3.11.11, 3.10.16 and 3.9.21 are now available

Link: https://pythoninsider.blogspot.com/2024/12/python-3131-3128-31111-31016-and-3921.html

Another big release day! Python 3.13.1 and 3.12.8
were regularly scheduled releases, but they do contain a few security
fixes. That makes it a nice time to release the security-fix-only
versions to
Django Weblog: Help us make it happen ❤️

Link: https://www.djangoproject.com/weblog/2024/dec/04/help-us-make-it-happen/

And just like that, 2024 is almost over! If your finances allow, donate to the Django Software Foundation to support the long-term future of Django.
Ned Batchelder: Testing some tidbits

Link: https://nedbatchelder.com/blog/202412/testing_some_tidbits.html

I posted a Python tidbit about checking if a string
consists entirely of zeros and ones:I got a bunch of replies suggesting other ways. I wanted to post those, but I
also wanted to check if they were
Real Python: Expression vs Statement in Python: What's the Difference?

Link: https://realpython.com/python-expression-vs-statement/

After working with Python for a while, you’ll eventually come across two seemingly similar terms: expression and statement. When you browse the official documentation or dig through a Python-related t
Django Weblog: Django security releases issued: 5.1.4, 5.0.10, and 4.2.17

Link: https://www.djangoproject.com/weblog/2024/dec/04/security-releases/

In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.4,
Django 5.0.10, and
Django 4.2.17.
These releases address the security issues detailed below. We en
👍1