Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Bytes: #297 I AM the documentation

Link: https://pythonbytes.fm/episodes/show/297/i-am-the-documentation

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

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

<p><strong>About the show</strong></p>
PyBites: Annotate all the things! Why you should care about Python type hints …

Link: https://pybit.es/articles/pp82-annotate-all-the-things-why-you-should-care-about-python-type-hints/

Listen now:

This week we have Will Frey on the podcast: ML engineer, Python “knowledge dictionary” and type hints fan & geek.
We talk about his background, how he learns / keeps up with Python’s fast
John Ludhi/nbshare.io: Numpy Array vs Vector

Link:
https://www.nbshare.io/notebook/396264078/Numpy-Array-vs-Vector/

Numpy Array vs Vector

This notebook explains the difference between Numpy Array and Vector.
If you are new to Numpy, please checkout numpy basics tutorial first.

Let us create
Kushal Das: johnnycanencrypt 0.7.0 released

Link: https://kushaldas.in/posts/johnnycanencrypt-0-7-0-released.html


Today I released Johnnycanencrypt 0.7.0. It has breaking change of some function names.

create_newkey renamed to create_key
import_cert renamed to import_key

But, the major work done are in few dif
Python for Beginners: Check For Disjoint Sets in Python

Link: https://www.pythonforbeginners.com/basics/check-for-disjoint-sets-in-python

In python, sets are container objects that are used to store unique immutable objects. In this article, we will discuss disjoint sets in python. We will also discuss different approaches to check for
Real Python: How to Find an Absolute Value in Python

Link: https://realpython.com/python-absolute-value/

Absolute values are commonly used in mathematics, physics, and engineering. Although the school definition of an absolute value might seem straightforward, you can actually look at the concept from ma
Read the Docs: Read the Docs newsletter - August 2022

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


We continue to be excited about the expanded capacity we have with an additional team member.
Our focus for July has been around a lot of marketing and positioning,
trying to better understand how ou
Codementor: Why is Python a Perfect Choice for Developing Fintech Products?

Link: https://www.codementor.io/gerrardcooper14/why-is-python-a-perfect-choice-for-developing-fintech-products-1k0mrn3k8w

find the top 5 reasons why Python is an ideal programming language for developing Fintech web apps.
Codementor: How to use MQTT in Python (Paho)

Link: https://www.codementor.io/emqtech/how-to-use-mqtt-in-python-paho-1wb54yon1o

This article introduces how to use the Paho MQTT client library in the Python project, and implements connection, subscribe, messaging, etc of MQTT.
Python⇒Speed: Invasive procedures: Python affordances for performance measurement

Link: https://pythonspeed.com/articles/measuring-python-performance/

When your Python code is too slow, you need to identify the bottleneck that’s causing it: you need to understand what your code is doing.
Luckily, beyond pre-existing profiling tools, there are also a
Hynek Schlawack: Easier Crediting of Contributors on GitHub

Link: https://hynek.me/til/easier-crediting-contributors-github/

Git has the concept of co-authors of a commit. You’ve probably seen it in the web UI, when multiple people are listed to have committed something. I want to be gracious with credit where it’s due and
Mike Driscoll: How to Rotate and Mirror Images with Python and Pillow (Video)

Link: https://www.blog.pythonlibrary.org/2022/08/18/how-to-rotate-and-mirror-images-with-python-and-pillow-video/

In this video tutorial, you will learn how to rotate and mirror images with Python and the Pillow package. This is also known as transposing an image.

Want to learn more about working with images wit
Anwesha Das: How to add a renew hook for certbot?

Link: http://anweshadas.in/how-to-add-a-renew-hook-for-certbot/

After moving the foss.trainingserver to a new location, we found that TLS certificate was expired. I had looked and figured out that though certbot renewed the certificate, it never reloaded the nginx
Shannon -jj Behrens: Python: My Favorite Python Tricks for LeetCode Questions

Link: http://www.jjinux.com/2022/08/python-my-favorite-python-tricks-for.html

I've been spending a lot of time practicing on LeetCode recently, so I thought I'd share some of my favorite intermediate-level Python tricks. I'll also cover some newer features of Python you may not
John Ludhi/nbshare.io: PySpark Substr and Substring

Link: https://www.nbshare.io/notebook/150872632/PySpark-Substr-and-Substring/








PySpark Substr and Substring








substring(col_name, pos, len) - Substring starts at pos and is of length len when str is String type or returns the slice of byte array that starts at pos i
PyBites: The importance of practicing gratitude

Link: https://pybit.es/articles/pp83-the-importance-of-practicing-gratitude/

Listen now:

This week we talk about gratitude.
Why? We spotted a trend that people are not saying thanks enough. We often suppose things are “just” working, forgetting that there is actually a lot of
Real Python: The Real Python Podcast – Episode #122: Configuring a Coding Environment on Windows & Using TOML With Python

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

Have you attempted to set up a Python development environment on Windows before? Would it be helpful to have an easy-to-follow guide to get you started? This week on the show, Christopher Trudeau is h
Python for Beginners: Check For Superset in Python

Link: https://www.pythonforbeginners.com/basics/check-for-superset-in-python

In python, we use sets to store unique immutable objects. In this article,  we will discuss what is a superset of a set. We will also discuss ways to check for superset in Python.
What is a Superset?
eGenix.com: eGenix Antispam Bot for Telegram 0.4.0 GA

Link: https://www.egenix.com/company/news/eGenix-Antispam-Bot-for-Telegram-0.4.0-GA.html

Introduction

eGenix has long been running a local user group meeting in Düsseldorf
called Python Meeting Düsseldorf and we are using a Telegram group
for most of our communication.
In the early days
Mike Driscoll: Python 101 - Debugging Your Code with pdb (Video)

Link: https://www.blog.pythonlibrary.org/2022/08/19/python-101-debugging-your-code-with-pdb-video/

Learn how to debug your Python programs using Python's built-in debugger, pdb with Mike Driscoll
In this tutorial, you will learn the following:

Starting pdb in the REPL
Starting pdb on the Command L