Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: The Real Python Podcast – Episode #155: Checking Project Dependencies & Python Dev Resource Collections

Link: https://realpython.com/podcasts/rpp/155/

How can you ensure that you've appropriately declared your project's required dependencies? How do you determine what dependencies are missing from a third-party project that you can't run? This week
Stack Abuse: Introduction to Django

Link: https://stackabuse.com/introduction-to-django/

Introduction
Django is one of today's most widely-used Python web frameworks. For now, we will not focus on the technical definition of a web framework - the guide includes a section dedicated to expl
Python⇒Speed: "Externally managed environments": when PEP 668 breaks pip

Link: https://pythonspeed.com/articles/externally-managed-environment-pep-668/

You’re on a new version of Linux, you try a pip install, and it errors out, talking about “externally managed environments” and “PEP 668”.
What’s going on?
How do you solve this?
Let’s see:

What the
Python Bytes: #334 Packaging Organizations

Link: https://pythonbytes.fm/episodes/show/334/packaging-organizations

<a href='https://www.youtube.com/watch?v=kake2wOH6RM' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p
Python Software Foundation: All-Python Humble Bundle out now from No Starch Press!

Link: https://pyfound.blogspot.com/2023/05/python-humble-bundle.html

 Have you been thinking about diving into a new topic in Python, or
maybe just getting started? Here's a chance to get a whole batch of
great Python books in a sweet deal, and help the PSF while you
Python for Beginners: If vs Elif vs Else If in Python

Link: https://www.pythonforbeginners.com/basics/if-vs-elif-vs-else-if-in-python

We use conditional statements in Python to control the execution flow of a program. In this article, we will discuss if vs elif vs else if in Python to get an understanding of how these conditional st
Kushal Das: Fixing missing yubikey trouble on fedora 38

Link: https://kushaldas.in/posts/fixing-missing-yubikey-trouble-on-fedora-38.html


From the time I updated to Fedora 38, I am having trouble with my Yubikey. If I
remove the key, just plugging it back does not help. gpg can not detect it.
$ gpg --card-status
gpg: selecting card fa
Moshe Zadka: Safe, Simple, Automatic Releases

Link: https://orbifold.xyz/ssa-releases.html

Two words that strike fear in the heart of
every software developer:
"release process".
Whether deploying a new version of a
billion-person social network
or a
tiny little open source library,
release
Talk Python to Me: #414: A Stroll Down Startup Lane

Link: https://talkpython.fm/episodes/show/414/a-stroll-down-startup-lane

At PyCon 2023, there was a section of the expo floor dedicated to new Python-based companies called Startup Row. I wanted to bring their stories and the experience of talking with these new startups t
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