Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Python 3.12: Cool New Features for You to Try

Link: https://realpython.com/python312-new-features/

Python 3.12 was published on October 2, 2023. As usual, the new version comes out in October after lots of effort by volunteers worldwide.
The new version comes with several new features and improveme
Stack Abuse: Python-Specific Design Patterns

Link: https://stackabuse.com/python-specific-design-patterns/

Introduction
Up until now, we've covered Creational, Structural, and Behavioral design patterns. These foundational pillars have offered insights into crafting elegant, maintainable, and scalable Pyth
Python Insider: Python 3.12.0 (final) now available

Link: https://pythoninsider.blogspot.com/2023/10/python-3120-final-now-available.html

 Finally, it’s final! The final release of Python 3.12.0 (final) is here!https://www.python.org/downloads/release/python-3120/ This is the stable release of Python 3.12.0
Python 3.12.0 is the newest m
Python Insider: Python 3.11.6 is now available

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

  This is the sixth maintenance release of Python 3.11Python 3.11.6 is the newest major release of the Python programming language, and it contains many new features and optimizations. Get it here:htt
Brian Okken: Python 3.12 + "AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?"

Link: https://pythontest.com/posts/2023/2023-10-02-py312-impimporter/

Are you seeing AttributeError: ...ImpImporter ... when trying to test with tox and Python 3.12?
If so, try:
Creating your develompent venv with Python 3.11 Adding download = true to your tox.ini run
PyCharm: PyCharm 2023.2.2 Is Now Available

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

You can update to this version from inside the IDE, using the Toolbox App, or using snaps if you are an Ubuntu user. Also, you can download it from our website.
Download PyCharm 2023.2.2
Here is the l
TechBeamers Python: Python Get Last Element in List

Link: https://www.techbeamers.com/python-get-last-element-in-list/

In Python, working with lists is a common task, and accessing the last element of a list is a frequent requirement. In this tutorial, we will explore various Python methods to efficiently get the last
Real Python: What's New in Python 3.12

Link: https://realpython.com/courses/new-features-python-312/

It’s that time of year again, time for a new release of Python. Although Python 3.12
mostly focuses on internal improvements, there’s a little something for
everyone. You can read up on all the new fe
PyCoder’s Weekly: Issue #597 (Oct. 3, 2023)

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

#597 – OCTOBER 3, 2023 View in Browser » Python 3.12: Cool New Features for You to Try In this tutorial, you’ll learn about the new features in Python 3.12. You’ll explore how the new release ex
Django Weblog: Django security releases issued: 4.2.6, 4.1.12, and 3.2.22

Link: https://www.djangoproject.com/weblog/2023/oct/04/security-releases/

In accordance with our security release policy, the Django team
is issuing
Django 4.2.6,
Django 4.1.12, and
Django 3.2.22.
These releases address the security issue detailed below. We encourage all
us
Real Python: Python's tuple Data Type: A Deep Dive With Examples

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

In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situatio
TechBeamers Python: Python Remove Last Element from List

Link: https://www.techbeamers.com/python-remove-last-element-from-list/

Lists are one of the most fundamental data structures in Python. They are mutable, meaning that their elements can be changed after their creation. Sometimes, you may need to remove the last element f
William Minchin: minchin.jrnl v7.1 “Phoenix” released

Link: https://blog.minchin.ca/2023/10/minchin-jrnl-710-released.html

Today, the lastest update of minchin.jrnl was released! This release add
custom exporters and importers!
Upgrading
You can upgrade it today:
pip install minchin.jrnl --upgrade

Custom Plugins (Importe
The Python Coding Blog: Butter Berries, Chess, and Timezones | September in Review

Link: https://thepythoncodingbook.com/2023/10/04/butter-berries-chess-and-timezones-september-in-review/

The Python Coding Stack travelled across timezones, through supermarket aisles, and across a chess board in September.
The month started with Butter Berries, An Elusive Delicacy. The inspiration for t
Luke Plant: Python Type Hints: pyastgrep case study

Link: https://lukeplant.me.uk/blog/posts/python-type-hints-pyastgrep-case-study/

In a previous post, I did a case study on my attempts to add type hints to parsy. In this post, I’m continuing the series, but in a very different project.
A while back I forked an existing tool calle
Stack Abuse: Check if a String Contains an Element from a List in Python

Link: https://stackabuse.com/check-if-a-string-contains-an-element-from-a-list-in-python/

Introduction
The ability to check if a string contains any element from a list is used in a wide range of applications, like text filtering, data validation, and natural language processing. Imagine y
Hynek Schlawack: How to Stop macOS from Stealing Focus after Switching Apps Across Desktops

Link: https://hynek.me/til/macos-window-focus-desktops/

For years, I’ve had a macOS bug that occurred randomly and that I could only fix by rebooting or logging out. The Internet is full of similar problems, but I never found a solution to mine, and my ple