Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
eGenix.com: eGenix Antispam Bot for Telegram 0.6.0 GA

Link: https://www.egenix.com/company/news/eGenix-Antispam-Bot-for-Telegram-0.6.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
IslandT: How to search multiple lines with Python?

Link: https://islandtropicaman.com/wp/2024/01/24/how-to-search-multiple-lines-with-python/

Often you will want to search for words or phrase in the entire paragraph and here is the python regular expression code which will do that.

pattern = re.compile(r'^\w+ (\w+) (\w+)', re.M)

We use th
Ned Batchelder: You (probably) don’t need to learn C

Link: https://nedbatchelder.com/blog/202401/you_probably_dont_need_to_learn_c.html

On Mastodon I
wrote that I was tired of people saying, “you should learn C so you can
understand how a computer really works.” I got a lot of replies which did not
change my mind, but helped me unders
Real Python: What Are Python Raw Strings?

Link: https://realpython.com/python-raw-strings/

If you’ve ever come across a standard string literal prefixed with either the lowercase letter r or the uppercase letter R, then you’ve encountered a Python raw string:


Python





>>> r"This is a r
TechBeamers Python: How Do You Filter a List in Python?

Link: https://www.techbeamers.com/how-do-you-filter-a-list-in-python/

In this tutorial, we’ll explain different methods to filter a list in Python with the help of multiple examples. You’ll learn to use the Python filter() function, list comprehension, and also use Pyth
TechBeamers Python: How Do I Install Pip in Python?

Link: https://www.techbeamers.com/how-to-install-pip-in-python/

In this tutorial, we’ll provide all the necessary steps for you to install Pip in Python on both Windows and Linux platforms. If you’re using a recent version of Python (Python 3.4 and above), pip is
Kay Hayen: Nuitka Package Configuration Part 3

Link: https://nuitka.net/posts/nuitka-package-config-part3.html

This is the third part of a post series under the tag package_config that explains the
Nuitka package configuration in more detail. To recap, Nuitka package
configuration is the way Nuitka learns abou
Wing Tips: AI Assisted Development in Wing Pro

Link: https://wingware.com/blog/ai-dev

This Wing Tip introduces Wing Pro's AI assisted software development
capabilities. Starting with Wing Pro version 10, you can use generative AI to write new
code at the current editor insertion point,
PyBites: Exploring the Role of Static Methods in Python: A Functional Perspective

Link: https://pybit.es/articles/exploring-the-role-of-static-methods-in-python-a-functional-perspective/

Introduction
Python’s versatility in supporting different programming paradigms, including procedural, object-oriented, and functional programming, opens up a rich landscape for software design and de
Glyph Lefkowitz: Unsigned Commits

Link: https://blog.glyph.im/2024/01/unsigned-commits.html

I am going to tell you why I don’t think you should sign your Git commits, even
though doing so with SSH keys is now easier than ever. But first, to
contextualize my objection, I have a brief hypothe