Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Pool: Numpy Permutation() | How to use np.random.permutation()

Link: https://www.pythonpool.com/numpy-random-permutation/?utm_source=rss&utm_medium=rss&utm_campaign=numpy-random-permutation

Introduction
In this tutorial, We will learn how to find the permutation of the numpy array. We can find the permutation of the numpy array using np.random.permutation() function. we will learn the ca
Python Pool: 3 Ways to Convert String to Variable Name in Python

Link: https://www.pythonpool.com/python-string-to-variable-name/?utm_source=rss&utm_medium=rss&utm_campaign=python-string-to-variable-name

Introduction
We got to know about many topics in python. But, have you ever use the input string as the variable name in your program. In this tutorial, we will be focusing on this topic only to conve
Python Pool: Working With Carriage Return (\r) in Python

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

Introduction
Sometimes, we occur in a situation where we want to go back to the starting point of the same line. In this article will help you understand the concept of carriage return in python or \r
Python Engineering at Microsoft: Jupyter in Visual Studio Code – April 2021 Release

Link: https://devblogs.microsoft.com/python/jupyter-in-visual-studio-code-april-2021-release/

We are pleased to announce that the April 2021 release of the Jupyter Extension for Visual Studio Code is now available. If working with Python, we recommend installing the Python extension directly f
Python for Beginners: Extract a specific word from a string in Python

Link: https://www.pythonforbeginners.com/basics/strings/extract-a-specific-word-from-a-string-in-python


While handling text data, sometimes we have to search for occurrences of specific words in the text and extract specific words. In this tutorial, we will learn about different methods to extract a sp
Real Python: Python Community Interview With Will McGugan

Link: https://realpython.com/interview-will-mcgugan/

Today I’m joined by Will McGugan. Will is a freelance Python developer based in Scotland and the creator of the popular Python library Rich.
In this interview, we discuss the origins of Rich, what it’
Python Pool: 4 Easy Ways to Find String in List in Python

Link: https://www.pythonpool.com/python-find-string-in-list/?utm_source=rss&utm_medium=rss&utm_campaign=python-find-string-in-list

We got to know about many topics in python. But have you ever tried to find the string in a list in Python? In this tutorial, we will be focusing on finding the string in a list. There are multiple wa
death and gravity: Dataclasses without type annotations

Link: https://death.andgravity.com/dataclasses

The dataclasses standard library module
reduces the boilerplate of writing classes
by generating special methods like __init__ and __repr__.
I've noticed a small (but vocal) minority of people that:
Django Weblog: PyCharm & DSF Campaign 2021

Link: https://www.djangoproject.com/weblog/2021/apr/01/pycharm-dsf-campaign-2021/

For the fifth year in a row, Django is partnering with JetBrains PyCharm on the following promotion: 30% off the purchase of any new individual PyCharm Professional licenses with the full proceeds ben
Stack Abuse: Matplotlib Pie Chart - Tutorial and Examples

Link: https://stackabuse.com/matplotlib-pie-chart-tutorial-and-examples/

Introduction
There are many data visualization libraries in Python, yet Matplotlib is the most popular library out of all of them. Matplotlib’s popularity is due to its reliability and utility - it's
Python for Beginners: Split a number in a string in Python

Link: https://www.pythonforbeginners.com/python-strings/split-a-number-in-a-string-in-python


While processing text data, it may be a situation that we have to extract numbers from the text data. In python, we process text data using strings. So, the task we have to do is to find and split a
PyCon: PyCon US Schedule Posted!

Link: https://pycon.blogspot.com/2021/04/pycon-us-schedule-posted.html

Along with International T-shirt ordering optionHead over to the PyCon website to see the lineup for Tutorials, Talks, Charlas, Summits and Sponsor Workshops. Take time to review the presentations and
PyCharm: PyCharm 2021.1 Release Candidate Is Here!

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

The release candidate (RC) for PyCharm 2021.1 is out. We are polishing the product and fixing bugs before the major 2021.1 release.

DOWNLOAD PYCHARM 2021.1 RC

Note that unlike previous EAP builds, t
Python Morsels: Truthiness

Link: https://www.pythonmorsels.com/topics/truthiness/





Transcript
Let's talk about truthiness in Python.
If statements check truthiness
We have a list of numbers:
>>> numbers = [2, 1, 3, 4, 7]

and we have an if statement that either prints yes or no
Programiz: Python Program to Create Pyramid Patterns

Link: https://www.programiz.com/python-programming/examples/pyramid-patterns

In this example, you will learn to print half pyramids, inverted pyramids, full pyramids, inverted full pyramids, Pascal's triangle, and Floyd's triangle in Python Programming.
Programiz: Python Program to Access Index of a List Using for Loop

Link: https://www.programiz.com/python-programming/examples/index-for-loop

In this example, you will learn to access the index of a list using a for loop.
Programiz: Python Program to Make a Flattened List from Nested List

Link: https://www.programiz.com/python-programming/examples/flatten-nested-list

In this example, you will learn to make a flattened list from a nested list in Python.