Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Pool: Learn How to Combine Sets in Python

Link: https://www.pythonpool.com/learn-how-to-combine-sets-in-python/?utm_source=rss&utm_medium=rss&utm_campaign=learn-how-to-combine-sets-in-python

In python, a set is an unordered collection of items. The items in a set are unordered and thus cannot be accessed with indexes. Sets come in handy while performing mathematical operations in python.
Stack Abuse: Python's Iteration Tools: filter(), islice(), map() and zip()

Link: https://stackabuse.com/pythons-iteration-tools-filter-islice-map-and-zip/

Introduction
Python has touched the hearts of many software developers around the world, thanks to its utility and simplicity.
Python provides its users with a number of useful functions and data stru
Python for Beginners: Dictionary Comprehension in Python

Link: https://www.pythonforbeginners.com/dictionary/dictionary-comprehension-in-python


There may be situations while working with dictionaries in python that we need to create a new dictionary from another dictionary by including some  items from the dictionary based on a condition or
Real Python: Using the Python or Operator

Link: https://realpython.com/courses/using-python-or-operator/

There are three Boolean operators in Python: and, or, and not. With them, you can test conditions and decide which execution path your programs will take. In this tutorial, you’ll take a deep dive int
death and gravity: SQL query builder in 150 lines of Python

Link: https://death.andgravity.com/query-builder

In this series,
we'll look at an SQL query builder
I wrote for my feed reader library.
Yup, you read that right, the whole thing fits in 150 lines!
Read on for a preview.

While the code is interestin
death and gravity: Why use an SQL query builder in the first place?

Link: https://death.andgravity.com/query-builder-why

Previously
This is the second article in a series about
writing an SQL query builder in 150 lines of Python,
why I did it, how I thought about it, and what I didn't do.
Today, we'll talk about why I n
AI Pool: Introduction of Fast Fourier Transformation (FFT)

Link: https://ai-pool.com/a/s/introduction-of-fast-fourier-transformation--fft

This article comprises of introduction to the Fourier series, Fourier analysis, Fourier transformation, why do we use it, an explanation of the FFT algorithm, and its implementation.
PyCoder’s Weekly: Issue #473 (May 18, 2021)

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

#473 – MAY 18, 2021 View in Browser » How SpaceX Lands Starship (Sort Of) While waiting for SN15 to launch, Thomas Goddard set out to pull together a 2-dimensional simulation of the Starship lan
Python Software Foundation: The 2021 Python Language Summit

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/_-8J6H4Mr-o/the-2021-python-language-summit.html

Every year, a small group of core developers from Python implementations such as CPython, PyPy, Jython, and more come together to share information, discuss problems, and seek consensus in order to he
IslandT: Multiplication table for number with Python

Link: https://kibiwebgeek.com/multiplication-table-for-number-with-python/

Your goal is to return multiplication table for number that is always an integer from 1 to 10.
For example, a multiplication table (string) for number == 5 looks like below:


1 * 5 = 5
2 * 5 = 10
3 *
Montreal Python User Group: Montréal-Python 86 – Jubilant Quadriceps

Link: https://montrealpython.org/en/2021/05/mp-86/

Join us on this lunch-time special edition featuring European guests:

Łukasz Langa, release manager of Python 3.9 and author of Black with a presentation called: From "it runs" to "it flies": Perform
Python Morsels: Turning a for loop into a list comprehension

Link: https://www.pythonmorsels.com/topics/turning-loop-list-comprehension/




Transcript
Let's turn a for loop into a list comprehension.
A for loop that builds up a new list
We have a list of strings that represent Python Morsels screencast names:
screencasts = [
"Data
Python Pool: Everything You Need to Know About Xrange Function in Python

Link: https://www.pythonpool.com/xrange-python/?utm_source=rss&utm_medium=rss&utm_campaign=xrange-python

xrange in python is a function that is used to generate a sequence of numbers from a given range. It is a function available in python 2 which returns an xrange object. The xrange function comes into
Python for Beginners: Ways to create dictionary in Python

Link: https://www.pythonforbeginners.com/dictionary/ways-to-create-dictionary-in-python


In python, a dictionary is a data structure in which we can keep data in the form of key-value pairs.In this article, we will study and implement various methods to create a dictionary in python.
Cre
Real Python: Build a Bulk File Rename Tool With Python and PyQt

Link: https://realpython.com/bulk-file-rename-tool-python/

Say you need to rename multiple files in your personal folder using a specific naming pattern. Doing that manually can be time-consuming and error-prone. So, you’re thinking of automating the file ren
Stack Abuse: How to Install Pip on Windows

Link: https://stackabuse.com/how-to-install-pip-on-windows/

Introduction
Package managers are tools commonly created for programming languages that make the setup and management of third-party packages easier. Pip is the preferred package manager in Python for
Python Pool: RSA Encryption Implementation in Python

Link: https://www.pythonpool.com/rsa-encryption-python/?utm_source=rss&utm_medium=rss&utm_campaign=rsa-encryption-python

Introduction
Cryptography and computer network security have always been side interests for me. While reading about the RSA encryption technique in cryptography, I thought about writing an article on
Python Bytes: #234 The Astronomy-filled edition with Dr. Becky

Link: https://pythonbytes.fm/episodes/show/234/the-astronomy-filled-edition-with-dr.-becky

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

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

<p><strong>About the show</strong></p>
Python Software Foundation: The 2021 Python Language Summit: CPython Performance Improvements at Instagram

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/4Tpn4LZPws4/the-2021-python-language-summit-cpython.html

Dino Viehland gave a presentation at the 2021 Python Language Summit about improvements to CPython's performance at Instagram. Cinder is Instagram's internal performance-oriented production version of
Brett Cannon: Unravelling the `with` statement

Link: https://snarky.ca/unravelling-the-with-statement/

As part of my series on Python&aposs syntactic sugar, I want to tackle unravelling the with statement.Looking at the bytecode for a simple with statement, you will notice there are a lot of opcodes be