Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Python Pool: Tuple Comprehension in Python is it Possible?

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

A tuple is a collection of multiple items in an ordered manner. Tuples are sequences denoted by parenthesis () and placing the items within parentheses, separated by commas. The items stored inside a
John Ludhi/nbshare.io: Activation Functions In Artificial Neural Networks Part 2 Binary Classification

Link: https://www.nbshare.io/notebook/53490821/Activation-Functions-In-Artificial-Neural-Networks-Part-2-Binary-Classification/








Activation Functions In Artificial Neural Networks Part 2 Binary Classification








This is part 2 of the series on activation functions in artificial neural networks. Chek out part1 - how
PyCharm: Join the Webinar “Three Paradigms For Method Inheritance”, with Reuven Lerner

Link: http://feedproxy.google.com/~r/Pycharm/~3/0zLsds9xuDc/

No object-oriented programming language would be worth looking at or using if it didn’t support inheritance. Invented in 1969 for Simula, inheritance is the mechanism of deriving new classes from exis
Python for Beginners: Copy in Python

Link: https://www.pythonforbeginners.com/data-types/copy-in-python


In python programs, several times we need to have an identical copy of an existing data. For simple data types like int, float, boolean values or string, an assignment operation does the task for us