Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
PyCharm: PyCharm 2022.2.2 Is Out!

Link: https://blog.jetbrains.com/pycharm/2022/09/2022-2-2

We’ve just released the second bug-fix update for PyCharm 2022.2.
You can update to this version from inside the IDE, by using the Toolbox App, or by using snaps for Ubuntu. You can also download it f
Ned Batchelder: Making a coverage badge

Link: https://nedbatchelder.com/blog/202209/making_a_coverage_badge.html

This is a sketch of how to use GitHub actions to get a total combined
coverage number, and create a badge for your README. There are other approaches
too, but this uses some commonly used tools to get
Python for Beginners: Read Specific Columns From CSV File

Link: https://www.pythonforbeginners.com/basics/read-specific-columns-from-csv-file

CSV files are the most popular way to store tabular data in the file system. Sometimes the csv file can contain multiple columns that we don’t need for analysis. In this article, we will discuss how w
Mike Driscoll: Python 103 - Practical Python Course Now Available

Link: https://www.blog.pythonlibrary.org/2022/09/19/python-103-practical-python-course-now-available/

I just launched my third course on Teach Me Python. This course is called Python 103 - Practical Python

In this new course, you will learn about the following:
Part I - Python Use Cases

Lesson 1 - H
Real Python: When Do You Use an Ellipsis in Python?

Link: https://realpython.com/python-ellipsis/

In English writing, you can use the ellipsis to indicate that you’re leaving something out.
Essentially, you use three dots (...) to replace the content.
But the ellipsis doesn’t only exist in prose—y
Python Morsels: Avoid "reduce" in Python

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

Python's reduce function can "reduce" an iterable to a single value. But the reduce function is often more hassle than it's worth.



Table of contents

What is the functools.reduce function?
Performi
Hynek Schlawack: How I’m a Productive Programmer With a Memory of a Fruit Fly

Link: https://hynek.me/articles/productive-fruit-fly-programmer/

A love letter to tools that changed everything for me.
Andre Roberge: New milestone: friendly/friendly-traceback version 0.6 (and why not 1.0)

Link: https://aroberge.blogspot.com/2022/09/new-milestone-friendlyfriendly.html

Just a few minutes ago, @isidentical tweeted that PyPy 3.9 had implemented the new enhanced tracebacks that are going to be part of cPython 3.11.  Of course, I had to reply to show that friendly/frien
IslandT: Python Tutorial — Chapter 6

Link: https://islandtropicaman.com/wp/2022/09/20/python-tutorial-chapter-6/

In this chapter of the Python tutorial, let us create an example to demonstrate how to use Python lists. Python list is just like an array where various items have been kept inside it and any particul
Mike Driscoll: Using Asyncio and Batch APIs for Remote Services

Link: https://www.blog.pythonlibrary.org/2022/09/20/using-asyncio-and-batch-apis/

Introduction to Batch APIs
In modern Python applications, it's common to access remote API using REST or other web-based technologies. Batch APIs are capable of processing multiple requests with a sin
Python⇒Speed: Using Conda? You might not need Docker

Link: https://pythonspeed.com/articles/conda-vs-docker/

Docker packaging is useful, but doing it well is not easy.
Even limiting the scope of discussion to production use of Python applications, the number of details to cover is extensive enough that I’ve
PyCoder’s Weekly: Issue #543 (Sept. 20, 2022)

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

#543 – SEPTEMBER 20, 2022 View in Browser » Build an Alexa Equivalent in Python It’s not as difficult as you think to build an AI program that listens to speech and answers questions. You can ma
Python Bytes: #302 The Blue Shirt Episode

Link: https://pythonbytes.fm/episodes/show/302/the-blue-shirt-episode

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

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

<p><strong>About the show</strong></p>
PyBites: Single or double quotes in Python?

Link: https://pybit.es/articles/single-or-double-quotes-in-python/

Whatever you think about Twitter these days, it’s pretty handy for us developers to ask questions and get inputs 
Last week I asked about single vs double quotes in Python:

Do you prefer single-quote
Python GUIs: Getting started with VS Code for Python: Setting up a development environment

Link: https://www.pythonguis.com/tutorials/getting-started-vs-code-python/

Setting up a working development environment is the first step for any project. Your development environment setup will determine how easy it is to develop and maintain your projects over time. That m
Python for Beginners: Rename Column by Index in Dataframes

Link: https://www.pythonforbeginners.com/basics/rename-column-by-index-in-dataframes

Dataframes are used to handle tabular data in python. In this article, we will discuss how we can rename a column by index in dataframes in python.
Change Column Name Using Index Number
We can access
Django Weblog: 2022 Django Developers Survey

Link: https://www.djangoproject.com/weblog/2022/sep/21/2022-django-developers-survey/

Please take a moment to fill it out the 2022 Django Developers Survey. We are once again partnering with JetBrains and it is available in 10 different languages.
The survey is an important metric of D
Real Python: What Does if __name__ == "__main__" Do in Python?

Link: https://realpython.com/if-name-main-python/

You’ve likely encountered Python’s if __name__ == "__main__" idiom when reading other people’s code. No wonder—it’s widespread! You might have even used if __name__ == "__main__" in your own scripts.
Ahmed Bouchefra: [3] Angular 14 Service for communicating with Contentful CMS

Link: https://efficientcoder.net/angular-service-communicate-cms/

In this tutorial, let’s now create the service that will encapsulate the code for communicating with Contentful. Go back to your command-line interface and run the following command to generate the se
Ahmed Bouchefra: [4] Angular 14 Routing and RxJS switchMap

Link: https://efficientcoder.net/angular-routing-switchmap/

In this tutorial, we’ll continue building our app with Angular 14 and Contentful. We’ll look at how to access route parameters using ParamMap and since our previous service method returns an observabl