Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Insider: Python 3.11.7 is now available

Link: https://pythoninsider.blogspot.com/2023/12/python-3117-is-now-available.html

  This is the sixth maintenance release of Python 3.11Python 3.11.7 is the newest major release of the Python programming language, and it contains many new features and optimizations. Get it here:htt
Ned Batchelder: Real-world match/case

Link: https://nedbatchelder.com/blog/202312/realworld_matchcase.html

Python 3.10 brought us structural pattern matching, better known as
match/case. At first glance, it looks like a switch statement from C or
JavaScript, but it’s very different.You can use match/case
James Bennett: Test your documentation

Link: https://www.b-list.org/weblog/2023/dec/10/python-doctest/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Real Python: Python News: What's New From November 2023

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

November brought exciting news to the Python community, from PyPI’s first security audit to a new version of PyScript! The month also gave Python developers like you ample opportunities to get involve
CodersLegacy: Python __init__.py – Best Practices and Customizations

Link: https://coderslegacy.com/python-init-py-best-practices/

The __init__.py file is a special Python script that is executed when a package or module is imported. Its primary purpose is to initialize the package or module and define the package’s namespace. In
Ed Crewe: Software development with Generative AI

Link: http://edcrewe.blogspot.com/2023/12/software-development-with-generative-ai.html

The Current State of AI Software GenerationThe user tries to describe what they want generated in terms of a snippet of high level programming language code using standard English. They submit it to t
James Bennett: Raise the right exceptions

Link: https://www.b-list.org/weblog/2023/dec/11/python-exceptions/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Python Software Foundation: Announcing the Hidden Figures of Python Podcast!

Link: https://pyfound.blogspot.com/2023/12/announcing-hidden-figures-of-python-pypodcats.html

The Python Software Foundation is excited to share the launch of the Hidden Figures of Python, a new podcast series created by the PyPodcats. The Hidden Figures of Python series aims to uplift underre
TestDriven.io: Effectively Using Django REST Framework Serializers

Link: https://testdriven.io/blog/drf-serializers/

This article looks at how to use Django REST Framework (DRF) serializers more efficiently and effectively.
Real Python: Python Basics Exercises: Strings and String Methods

Link: https://realpython.com/courses/python-exercises-string-methods/

In Python Basics: Strings and String Methods,
you used strings for text data in Python. You also learned how to manipulate strings with string methods.
For example, you changed strings from lowercase
TechBeamers Python: Generate random characters using Python choice, choices, urandom, randrange, sample…

Link: https://www.techbeamers.com/generate-random-characters-in-python/

In this tutorial, we have collated a list of different ways to generate random characters in Python. You may check out these methods and pick the most suitable one. Our code examples can help you simu
PyCharm: PyCharm 2023.3.1 Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/12/2023-3-1/

The first bug-fix update for v2023.3 has arrived! 
You can update to this version from inside the IDE, using the Toolbox App, or via snaps, if you’re using Ubuntu. You can also download it directly fr
PyCoder’s Weekly: Issue #607 (Dec. 12, 2023)

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

#607 – DECEMBER 12, 2023 View in Browser » Exploring Code Reviews in Python and Automating the Process What goes into a code review in Python? Is there a difference in how a large organization p
Python Bytes: #364 Holy Match-Cases Batman!

Link: https://pythonbytes.fm/episodes/show/364/holy-match-cases-batman

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

<ul>
<li><a href="https://www.b-list.org/weblog/2023/dec/03/python-enums/"><strong>A Python/Django Advent calendar</strong></a></li>
<li><a href=
TypeThePipe: Python protocols. When to use them in your projects to abstract and decoupling

Link: https://typethepipe.com/post/python-protocols-when-to-use/

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
James Bennett: Django's three types of model inheritance

Link: https://www.b-list.org/weblog/2023/dec/12/django-model-inheritance/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See
Real Python: Build a Scalable Flask Web Project From Scratch

Link: https://realpython.com/flask-project/

Flask is a powerful and flexible micro web framework for Python, ideal for both small and large web projects. It provides a straightforward way to get a web application up and running, with all the fe
James Bennett: Database views in Django

Link: https://www.b-list.org/weblog/2023/dec/13/django-database-views/

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See