Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Python 3.11 Preview: Even Better Error Messages

Link: https://realpython.com/python311-error-messages/

Python 3.11 will be released in October 2022. Even though October is still months away, you can already preview some of the upcoming features, including how Python 3.11 will offer more readable and ac
Python Morsels: Python Built-in Functions To Know

Link: https://www.pythonmorsels.com/built-in-functions-in-python/



Table of contents

Which built-ins should you know about?
The 10 commonly known built-in functions
The 10 commonly overlooked built-ins
The 5 built-ins for debugging
Learn these later
Maybe learn th
Python Bytes: #274 12 Questions You Should Be Asking of Your Dependencies

Link: https://pythonbytes.fm/episodes/show/274/12-questions-you-should-be-asking-of-your-dependencies

<p><strong>Watch the live stream:</strong></p>

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

<p><strong>About the show</strong></p>
ItsMyCode: [Solved] Importerror: libgl.so.1: cannot open shared object file: no such file or directory

Link: https://itsmycode.com/importerror-libgl-so-1-cannot-open-shared-object-file-no-such-file-or-directory/

If you are using cv2 or opencv-python and then building the application through docker you will get an importerror: libgl.so.1: cannot open shared object file: no such file or directory.
In this tutor
Matt Layman: Security And Django

Link: https://www.mattlayman.com/understand-django/secure-apps/

In the last Understand Django article, we learned about where apps slow down. We explored techniques that help sites handle the load and provide a fast experience for users.
With this article, we will
Fabio Zadrozny: PyDev 9.3.0 (debugger improvements / last version with Python 2.7 - 3.5 support)

Link: http://pydev.blogspot.com/2022/03/pydev-930-debugger-improvements-last.html

PyDev 9.3.0 is now available.The main changes in this release are related to the debugger, with improvements such as: Major issue fixed issue where variable children sometimes wouldn't expand correctl
Read the Docs: Read the Docs newsletter - March 2022

Link: https://blog.readthedocs.com/newsletter-march-2022/


It’s been pretty quiet on the company front in February,
with nothing much to report.
We’re actively working on our latest job description,
which will be a product-focused Python development position
Real Python: The Real Python Podcast – Episode #101: Tools for Setting Up Python on a New Machine

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

There are many ways to get Python installed on your computer. If you were going to start fresh, what tools would you use? What if you need to manage multiple versions of Python and virtual environment
Python for Beginners: Append a New Row in a Dataframe in Python

Link: https://www.pythonforbeginners.com/basics/append-a-new-row-in-a-dataframe-in-python

To handle tabular data in python, we normally use dataframes. In this article, we will discuss how we can append a new row in a dataframe.
Append a New Row in a Dataframe Using the loc[] Attribute
If
Stack Abuse: Graphs in Python: Minimum Spanning Trees - Kruskal's Algorithm

Link: https://stackabuse.com/graphs-in-python-minimum-spanning-trees-kruskals-algorithm/

Introduction
Kruskal's algorithm is one of the three most famous algorithms for finding a minimum spanning tree (MST) in a graph. MSTs are widely used to calculate optimal paths in a lot of different
Daniel Roy Greenfeld: Pip Installing Dependencies Into Conda Envs

Link: https://daniel.feldroy.com/posts/2022-03-11-pip-installing-dependencies-into-conda-envs

I prefer to use Conda because once installed it works essentially the same everywhere. Including Windows.
Step 1: Create a Virtual Environment
conda create -n credible python=3.10

After agreeing to i
Brett Cannon: Unravelling Python's classes

Link: https://snarky.ca/unravelling-pythons-classes/

For the second-to-last post in my syntactic sugar series (the final post will be a summary/conclusion post), I am tackling what I expect is my largest and most complicated: the class statement (althou
Podcast.__init__: Run Your Applications Reliably On Kubernetes Without Losing Sleep With Robust

Link: https://www.pythonpodcast.com/robusta-kubernetes-application-maintenance-episode-356/

Summary
Kubernetes is a framework that aims to simplify the work of running applications in production, but it forces you to adopt new patterns for debugging and resolving issues in your systems. Robu
Matthew Wright: Analyzing intraday and overnight stock returns with pandas

Link: https://www.wrighters.io/analyzing-intraday-and-overnight-stock-returns-with-pandas/

There are big differences between overnight and intraday stock returns. This article shows how to use pandas to understand one big reason.The post Analyzing intraday and overnight stock returns with p
Mike Driscoll: PyDev of the Week: Jessica Greene

Link: https://www.blog.pythonlibrary.org/2022/03/14/pydev-of-the-week-jessica-greene/

This week we welcome Jessica Greene (@sleepypioneer) as our PyDev of the Week! Jessica is a backend engineer at Ecosia and is an active member of PyLadies. She also gives talks at multiple tech confer
Python Software Foundation: The Pi-thon 2022 PSF Spring Fundraiser!

Link: http://pyfound.blogspot.com/2022/03/the-pi-thon-2022-psf-spring-fundraiser.html

Happy Pi Day, 𝛑thonistas! 2022 has been a year with some special dates, and we wanted to honor one more. We are feeling celebratory and excited here at the PSF, having made it through 2020 and 2021 by
Real Python: Python Class Constructors: Control Your Object Instantiation

Link: https://realpython.com/python-class-constructor/

Class constructors are a fundamental part of object-oriented programming in Python. They allow you to create and properly initialize objects of a given class, making those objects ready to use. Class
Kushal Das: Targeted WebID for privacy in Solid

Link: https://kushaldas.in/posts/targeted-webid-for-privacy-in-solid.html


In my last post I talked
about the privacy issues from static public WebID in Solid. In this post I am
trying to explain a way to preserve privacy, I will later submit a proposal
(after figuring out
Python Morsels: What is an iterator?

Link: https://www.pythonmorsels.com/what-is-an-iterator/

Iterators are lazy iterables which power all iteration in Python. Iterators are the generic form of a generator-like object.



Table of contents

Generator objects are iterators
Iterables are powered