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 Remove Whitespace from a String in Python

Link: https://www.techbeamers.com/how-to-remove-whitespace-from-a-string-in-python/

This tutorial explains multiple ways to remove whitespace from a string in Python. Often, as a programmer, we need to put in a mechanism to remove whitespace, especially trailing spaces. So, with the
death and gravity: This is not interview advice: building a priority-expiry LRU cache without heaps or trees in Python

Link: https://death.andgravity.com/lru-cache

It's not your fault I got nerdsniped,
but that doesn't matter.
Hi, I'm Adrian, and today we're implementing a
least recently used cache with priorities and expiry,
using only the Python standard libra
TechBeamers Python: Python Pip Usage for Beginners

Link: https://www.techbeamers.com/python-pip-usage/

Python Pip, short for “Pip Installs Packages,” is a powerful package management system that simplifies the process of installing, upgrading, and managing Python libraries and dependencies. In this tut
TechBeamers Python: Understanding Python Timestamps: A Simple Guide

Link: https://www.techbeamers.com/python-timestamp/

In Python, a timestamp is like a timestamp! It’s a number that tells you when something happened. This guide will help you get comfortable with timestamps in Python. We’ll talk about how to make them,
TechBeamers Python: LangChain Memory Basics

Link: https://www.techbeamers.com/langchain-memory/

Langchain Memory is like a brain for your conversational agents. It remembers past chats, making conversations flow smoothly and feel more personal. Think of it like chatting with a real friend who re
TechBeamers Python: LangChain Agent Basics with Sample Agent Code

Link: https://www.techbeamers.com/langchain-agents/

LangChain agents are fascinating creatures! They live in the world of text and code, interacting with humans through conversations and completing tasks based on instructions. Think of them as your dig
Luke Plant: Python packaging must be getting better - a datapoint

Link: https://lukeplant.me.uk/blog/posts/python-packaging-must-be-getting-better-a-datapoint/

I’m developing some Python software for a client, which in its current early state is desktop software that will need to run on Windows.
So far, however, I have done all development on my normal comfo
Zato Blog: How to correctly integrate APIs in Python

Link: https://zato.io/en/blog/how-to-integrate-apis-in-python.html


How to correctly integrate APIs in Python


2024-01-22, by Dariusz Suchojad



Understanding how to effectively integrate various systems and APIs is crucial. Yet, without a dedicated integration p
TypeThePipe: Data Engineering Bootcamp 2024 (Week 1) Docker & Terraform

Link: https://typethepipe.com/post/data-engineering-free-bootcamp-2024-week1/

pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
.source
Real Python: When to Use a List Comprehension in Python

Link: https://realpython.com/list-comprehension-python/

One of Python’s most distinctive features is the list comprehension, which you can use to create powerful functionality within a single line of code. However, many developers struggle to fully leverag
Glyph Lefkowitz: Okay, I’m A Centrist I Guess

Link: https://blog.glyph.im/2024/01/a-centrist-i-guess.html

Today I saw a short YouTube video about “cozy
games” and started writing a comment, then
realized that this was somehow prompting me to write the most succinct summary
of my own personal views on poli
TechBeamers Python: Is Python Map Faster than Loop?

Link: https://www.techbeamers.com/python-map-vs-loop/

In this short tutorial, we’ll quickly compare Python map vs loop. We’ll try to assess whether the Python map is faster than the loop or vice-versa. The comparison between using map and a loop (such as
PyCon: Applications For Booth Space on Startup Row Are Now Open!

Link: https://pycon.blogspot.com/2024/01/pycon-us-startup-row-2024-applications.html

 Applications For Booth Space on Startup Row Are Now OpenTo all the startup founders out there, ‌PyCon US organizers have some awesome news for you! The application window for Startup Row at PyCon US
Python Morsels: None in Python

Link: https://www.pythonmorsels.com/none/

Python's None value is used to represent emptiness. None is the default function return value.



Table of contents

Python's None value
None is falsey
None represents emptiness
The default function r
Glyph Lefkowitz: Your Text Editor (Probably) Isn’t Malware Any More

Link: https://blog.glyph.im/2024/01/no-more-editor-malware.html

In 2015, I wrote one of my more popular blog posts, “Your Text Editor Is
Malware”, about the sorry state of security in
text editors in general, but particularly in Emacs and Vim.
It’s nearly been a d
Real Python: Python Basics: Lists and Tuples

Link: https://realpython.com/courses/python-basics-lists-tuples/

Python lists are similar to real-life lists. You can use them to store and organize a collection of objects, which can be of any data type. Instead of just storing one item, a list can hold multiple i
TechBeamers Python: Python Map vs List Comprehension – The Difference Between the Two

Link: https://www.techbeamers.com/python-map-vs-list-comprehension/

In this tutorial, we’ll explain the difference between Python map vs list comprehension. Both map and list comprehensions are powerful tools in Python for applying functions to each element of a seque
PyCoder’s Weekly: Issue #613 (Jan. 23, 2024)

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

#613 – JANUARY 23, 2024 View in Browser » Python Packaging, One Year Later: A Look Back at 2023 This is a follow-on post to Chris’s article from last year called Fourteen tools at least twelve t
Python Bytes: #368 That episode where we just ship open source

Link: https://pythonbytes.fm/episodes/show/368/that-episode-where-we-just-ship-open-source

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

<ul>
<li><a href="https://www.syntaxerror.tech/syntax-error-11-debugging-python/"><strong>Syntax Error #11: Debugging Python</strong></a></li>
<l
Quansight Labs Blog: Captioning: A Newcomer’s Guide

Link: https://labs.quansight.org/blog/captioning-a-newcomers-guide

What are those words on the bottom of your video screen and where do they come from? Captioning’s normalization in the past several decades may seem like it would render those questions moot, but unde