Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
TechBeamers Python: How to Write Multiline Comments in Python

Link: https://www.techbeamers.com/how-to-write-multiline-comments-in-python/

In Python, there is no specific syntax for creating multiline comments like some other programming languages (e.g., C, C++, Java). Instead, Python relies on other methods to achieve similar goals. Mul
Read the Docs: Read the Docs newsletter - November 2023

Link: https://blog.readthedocs.com/newsletter-november-2023/

News and updates

Work continues on hardening Addons, our new in-documentation JavaScript client that supports all documentation tools. We’re looking for people in the community to test out this new f
Real Python: Python Basics Exercises: Numbers and Math

Link: https://realpython.com/courses/numbers-and-math-exercises/

In Python Basics: Numbers and Math, you learned the mathematical skills that you’ll need as a Python programmer. Now, you’ll take those skills to the next level by actively practicing and applying wha
Paolo Melchiorre: Database generated columns ⁽¹⁾: Django & SQLite

Link: https://www.paulox.net/2023/11/07/database-generated-columns-part-1-django-and-sqlite/

An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0.
Mike Driscoll: lxml objectify and Working with XML Tag Containing Periods

Link: https://www.blog.pythonlibrary.org/2023/11/07/lxml-objectify-and-working-with-xml-tag-containing-periods/

Recently, I have been working on automating Jenkin’s config XML files using Python and the lxml package.
I have several articles on using lxml and its handy objectify functionality:


Python: Creating
PyCoder’s Weekly: Issue #602 (Nov. 7, 2023)

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

#602 – NOVEMBER 7, 2023 View in Browser » My User Experience Porting Off setup.py It is no secret that packaging in Python is complicated. This post by Gregory runs through the challenges he had
Python Bytes: #360 Happy Birthday!

Link: https://pythonbytes.fm/episodes/show/360/happy-birthday

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

<ul>
<li><a href="https://dev.to/hugovk/til-excludealso-with-coveragepy-2hkm"><strong>exclude_also with coverage.py</strong></a></li>
<li><a href
Talk Python to Me: #437: HTMX for Django Developers (And All of Us)

Link: https://talkpython.fm/episodes/show/437/htmx-for-django-developers-and-all-of-us

Are you considering or struggling with replacing much of the interactivity of your Django app with frontend JavaScript frameworks? After all, your users do expect an interactive and modern app, right?
Real Python: Document Your Python Code and Projects With ChatGPT

Link: https://realpython.com/document-python-code-with-chatgpt/

Having good documentation is a critical feature of any successful Python project. In practice, writing documentation is hard and can take a lot of time and effort, so some developers don’t like to do
Daniel Roy Greenfeld: TIL: Fixing YAML

Link: https://daniel.feldroy.com/posts/til-2023-11-fixing-yaml

I got tired of manually correcting and prettifying YAML only to run into periodic instances where my cleanup broke configurations. Alas, yamllint only tells you what's wrong. I would rather have an ea
Quansight Labs Blog: Refining NumPy's Python API for its 2.0 release

Link: https://labs.quansight.org/blog/numpy-python-api-cleanup

A journey through NumPy's Python API from a maintenance perspective.
Quansight Labs Blog: Adding support for polynomials to Numba

Link: https://labs.quansight.org/blog/numba-polynomial-support

My work was focused on improving NumPy support in Numba, with focus on the polynomial package.
Quansight Labs Blog: The 'eu' in eucatastrophe – Why SciPy builds for Python 3.12 on Windows are a minor miracle

Link: https://labs.quansight.org/blog/building-scipy-with-flang

Moving SciPy to Meson meant finding a different Fortran compiler on Windows, which was particularly tricky to pull off for conda-forge. This blog tells the story about how things looked pretty grim fo
Python Software Foundation: Join the Python Developers Survey 2023: Share and learn about the community!

Link: https://pyfound.blogspot.com/2023/11/join-python-developers-survey-2023.html

td {border: 1px solid #cccccc;}br {mso-data-placement:same-cell;}  This year we are conducting the seventh iteration of the official Python Developers Survey. The goal is to capture the current state
Stack Abuse: Guide to Queues in Python

Link: https://stackabuse.com/guide-to-queues-in-python/

Introduction
From storing simple integers to managing complex workflows, data structures lay the groundwork for robust applications. Among them, the queue often emerges as both intriguing and ubiquito
Glyph Lefkowitz: iOS Mail To Omnifocus Task

Link: https://blog.glyph.im/2023/11/ios-mail-to-omnifocus-task.html

One of my longest-running frustrations with iOS is that the default mail app
does not have a “share” action, making it impossible to do the one thing that
a mail client needs to be able to do for me,
Mike Driscoll: wxPython 101 – wx.NewId() is Deprecated!

Link: https://www.blog.pythonlibrary.org/2023/11/09/wxpython-101-wx-newid-is-deprecated/

Deprecation warnings are handy ways for open-source maintainers to alert their users that some part of their package is no longer going to be supported. Good maintainers will provide migration guides
Stack Abuse: Guide to Hash Tables in Python

Link: https://stackabuse.com/hash-tables-in-python/

Introduction
Hash tables offer an efficient and flexible method of storing and retrieving data, making them indispensable for tasks involving large data sets or requiring rapid access to stored items.
PyBites: Maximizing Your Developer Experience (DX) with Adam Johnson: Git Mastery, Django and Open Source

Link: https://pybit.es/articles/maximizing-your-dx-with-adam-johnson/

This week we talk with Adam Johnson, Python developer / consultant, Django steering counsel member and prolific book author.
Listen here:

Or check it out on our YouTube channel:


We start off with s
Python Software Foundation: The Python Sofware Foundation receives the Wonderfully Welcoming Award from GitHub!

Link: https://pyfound.blogspot.com/2023/11/psf-wonderfully-welcoming-award-github.html

[November 9th, 2023] - The Python Software Foundation is delighted to announce that we are a recipient of a GitHub Award under the Wonderfully Welcoming category, awarded on November 9th at GitHub Uni