Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyBites: Django Plugin Recommendations by Antonio Melé | Top 10 Picks for Web Development

Link: https://pybit.es/articles/django-plugin-recommendations-by-antonio-mele-top-10-picks-for-web-development/

Watch here:


Or listen here:

He’s back! Django by Example book author Antonio Melé
Not only that, we did this interview in person at a cafeteria on the beach  
In this episode he shares his 10 favo
Mike Driscoll: PyDev of the Week: James Bednar

Link: https://www.blog.pythonlibrary.org/2023/05/08/pydev-of-the-week-james-bednar/

This week we welcome James Bednar (@JamesABednar) as our PyDev of the Week! James works at Anaconda as a manager of the Holoviz, a popular data visualization package for Python. If you’d like to see w
Python for Beginners: For Loop vs While Loop in Python

Link: https://www.pythonforbeginners.com/basics/for-loop-vs-while-loop-in-python

We use for loop and while loop in Python for different tasks. This article discusses for loop vs while loop in Python to uncover their similarities and differences.
Table of ContentsSyntax of For Loop
Real Python: Build Robust Continuous Integration With Docker and Friends

Link: https://realpython.com/docker-continuous-integration/

Continuous integration (CI) has become essential to software development, allowing teams to merge code changes frequently and catch errors early. Docker containers help facilitate the continuous integ
Glenn Franxman: Django Admin ordered how you like

Link: http://hackermojo.com/mt-static/archives/2023/05/Django-admin-unsorted.html

I got so tired and irritated by Django's alphabetical sorting of apps and models in the admin.

def get_unordered_app_list(self, request):
"""
Return a list of all the installed apps that hav
John Ludhi/nbshare.io: "cannot access local variable 'a' where it is not associated with a value", but the value is defined

Link: https://www.nbshare.io/notebook/74216635/"cannot-access-local-variable-'a'-where-it-is-not-associated-with-a-value",-but-the-value-is-defined/







"cannot access local variable 'a' where it is not associated with a value", but the value is defined










The error message "cannot access local variable 'a' where it is not associated with
John Ludhi/nbshare.io: cannot access local variable a where it is not associated with a value but the value is defined

Link: https://www.nbshare.io/notebook/74216635/cannot-access-local-variable-a-where-it-is-not-associated-with-a-value-but-the-value-is-defined/







"cannot access local variable 'a' where it is not associated with a value", but the value is defined










The error message "cannot access local variable 'a' where it is not associated with
Real Python: Getting the Most Out of the Python Standard REPL

Link: https://realpython.com/courses/python-repl/

The Python standard shell, or REPL (Read-Eval-Print Loop), allows you to run Python code interactively while working on a project or learning the language. This tool is available in every Python insta
Python Morsels: How to check whether one string contains another in Python

Link: https://www.pythonmorsels.com/substring-check/

In Python, we usually check for substrings using the in operator instead of the index or find methods.


Table of contents

What we're looking for
The string index method
The string find method
The st
PyCoder’s Weekly: Issue #576 (May 9, 2023)

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

#576 – MAY 9, 2023 View in Browser » SOLID Principles: Improve Object-Oriented Design in Python In this tutorial, you’ll learn about the SOLID principles, which are five well-established standar
Django Weblog: Announcing DjangoCon Africa 2023

Link: https://www.djangoproject.com/weblog/2023/may/10/announcing-djangocon-africa-2023/

The African Django community is excited to announce the first DjangoCon Africa event, taking place this year in Zanzibar, Tanzania, from 6th - 11th November 2023. The first event since the global pand
Python for Beginners: Tuple vs List in Python: Syntax, Definition, and Performance

Link: https://www.pythonforbeginners.com/basics/tuple-vs-list-in-python-syntax-definition-and-performance

In Python, tuples and lists are similar data structures apart from mutability. This article discusses Python tuple vs list to compare the syntax, definition, mutability, and performance of both data s
Wingware: Wing Python IDE Version 9.1 - May 10, 2023

Link: https://wingware.com/news/2023-05-10

Wing 9.1 adds auto-import and import management, collects and displays
code coverage for unit tests, uses coverage data to invalidate test results when code
is edited, adds support for Python 3.11, re
Real Python: Python News: What's New From April 2023

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

Spring is in bloom, bringing new and exciting developments in the Python world. The last preview release of Python 3.12 before the feature freeze, a new major version of pandas, pip and PyPI improvem
PyCharm: How To Create a Passphrase Generator in PyCharm

Link: https://blog.jetbrains.com/pycharm/2023/05/create-passphrase-generator-in-pycharm/

In this tutorial, you will create a passphrase generator in PyCharm. You’ll learn how to:

Create a project in PyCharm Community Edition.
Install and import Python packages.
Use the Typer library to c
CodersLegacy: Python Metaclass Tutorial (with Examples)

Link: https://coderslegacy.com/python-metaclass-tutorial/

In this Python tutorial, we will discuss the concept of a “Metaclass”, and how it can be used effectively.
Metaclasses are a powerful feature in Python that allow you to create classes dynamically at
EuroPython: EuroPython April 2023 Newsletter

Link: https://blog.europython.eu/europython-april-2023-newsletter/

Hey there 👋With less than 70 days left until we gather together in Prague for EuroPython, here’s what’s been going on.📣 ProgrammeThank you to everyone who contributed to our community voting and a spe
Marcos Dione: encoding-decoding-errors

Link: http://www.grulic.org.ar/~mdione/glob//posts/encoding-decoding-errors/

I was bored and I thought this could be useful, not only for you, but for me too.
So you have this text:
sáb

What happened there? This is a classic encoding error. In fact, it's one of the
classic
Read the Docs: Read the Docs newsletter - May 2023

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

News and updates

🚁️ The proxy application El Proxito has been rewritten and the new version is rolled out to selected projects.
El Proxito resolves URLs for all documentation websites hosted on Read