Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Brett Cannon: Unravelling `async for` loops

Link: https://snarky.ca/unravelling-async-for-loops/

When I decided the next post in my series on Python&aposs syntactic sugar would be on async for, I figured it would be straightforward. I have already done `for` loops, so I have something to build of
Mike Driscoll: PyDev of the Week: Nikita Sobolev

Link: https://www.blog.pythonlibrary.org/2021/09/13/pydev-of-the-week-nikita-sobolev/

This week we welcome Nikita Sobolev (@sobolevn) as our PyDev of the Week! Nikita is the founder of wemake.services. Nikita also writes a technical blog that you should check out. You can also see what
Matt Layman: Episode 15 - User Session Data

Link: https://www.mattlayman.com/django-riffs/15-user-session-data/

On this episode, we will dig into a data storage technique that Django makes heavy use of for visitors to your site. This category of data is called session data.
Listen at djangoriffs.com or with the
Full Stack Python: How to Transcribe Speech Recordings into Text with Python

Link: https://www.fullstackpython.com/blog/transcribe-recordings-speech-text-assemblyai.html

When you have a recording where one or more people are talking, it's useful
to have a highly accurate and automated way to extract the spoken words into
text. Once you have the text, you can use it fo
Full Stack Python: Using Django & AssemblyAI for More Accurate Twilio Call Transcriptions

Link: https://www.fullstackpython.com/blog/django-accurate-twilio-voice-transcriptions.html

Recording phone calls
with one or more participants is easy with
Twilio's Programmable Voice API,
but the speech-to-text accuracy can be poor, especially for transcription
of words from niche domain
Real Python: Python News: What's New From August 2021?

Link: https://realpython.com/python-news-august-2021/

Summer holidays have ended, and it’s back to school again. While it was a time of leisure and getting disconnected from the virtual world for many of us, the Python maintainers and contributors have b
Python Morsels: Importing a module runs code

Link: https://www.pythonmorsels.com/topics/importing-module-runs-code/




Transcript
When Python imports a module, it runs all the code in that module.
A module that defines and prints things
Here we have a file called salutations.py:
import random

salutations = ["Hello
Gaël Varoquaux: Hiring someone to develop scikit-learn community and industry partners

Link: http://gael-varoquaux.info/programming/hiring-someone-to-develop-scikit-learn-community-and-industry-partners.html


Note
With the growth of scikit-learn and the wider PyData ecosystem, we
want to recruit in the Inria scikit-learn team for a new role.
Departing from our usual focus on excellence in algorithms,
stat
Mike Driscoll: Python 101 – How to Work with Images

Link: https://www.blog.pythonlibrary.org/2021/09/14/python-101-how-to-work-with-images/

The Python Imaging Library (PIL) is a 3rd party Python package that adds image processing capabilities to your Python interpreter. It allows you to process photos and do many common image file manipul
Python for Beginners: Level Order Tree Traversal in Python

Link: https://www.pythonforbeginners.com/data-structures/level-order-tree-traversal-in-python

Just like we traverse a python dictionary, a list or tuple to access its elements, We can also traverse binary trees to access their elements. There are four tree traversal algorithms namely In-order
Matt Layman: User File Use

Link: https://www.mattlayman.com/understand-django/media-files/

In the last Understand Django article, you learned about Django settings and how to manage the configuration of your application. We also looked at tools to help you to be extra effective with setting
Real Python: Using Data Classes in Python

Link: https://realpython.com/courses/python-data-classes/

One new and exciting feature that came out in Python 3.7 was the data class. A data class is a class typically containing mainly data, although there aren’t really any restrictions.
With data classes,
Test and Code: 164: Debugging Test Failures with pytest

Link: https://testandcode.com/164

An overview of the pytest flags that help with debugging.
From Chapter 13, Debugging Test Failures, of Python Testing with pytest, 2nd edition.
pytest includes quite a few command-line flags that are
PyCoder’s Weekly: Issue #490 (Sept. 14, 2021)

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

#490 – SEPTEMBER 14, 2021 View in Browser » Applying PEP 8 in Practice “Two recent threads on the python-ideas mailing list have overlapped to a certain extent; both referred to Python’s [PEP 8]
Quansight Labs Blog: Not a checklist: different accessibility needs in JupyterLab

Link: https://labs.quansight.org/blog/2021/09/not-a-checklist/

JupyterLab Accessibility Journey Part 3
In a pandemic, the template joke-starter “x and y walk into a bar” seems like
a stretch from my reality. So let’s try this remote version:
Two community member
Zato Blog: Enterprise API integrations under Windows

Link: https://zato.io/blog/posts/windows-api-integrations.html

If you are on Windows, looking for an integration platform to connect your APIs, systems, applications, backend resources or mobile apps, I am happy to let you know that Zato
now supports Windows nati
John Ludhi/nbshare.io: PyTorch Tutorial A Complete Use Case Example

Link: https://www.nbshare.io/notebook/512285365/PyTorch-Tutorial-A-Complete-Use-Case-Example/











PyTorch Tutorial: A Complete Use-case Example








Introduction








This tutorial shows a full use-case of PyTorch in order to explain several concepts by example.
The application wil
PyCharm: PyCharm 2021.2.2 Is Out!

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

Download PyCharm 2021.2.2
The second minor release of PyCharm 2021.2 contains multiple bug fixes.

cProfile call graph never loads. [PY-49917]
Requirements.txt blank file is being created. [PY-41953]
Mike Driscoll: Getting Started with ReportLab’s Canvas

Link: https://www.blog.pythonlibrary.org/2021/09/15/getting-started-with-reportlabs-canvas/

ReportLab is a very powerful library. With a little effort, you can make pretty much any layout that you can think of. I have used it to replicate many complex page layouts over the years. In this tut