Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: Python 101 – Documenting Your Code

Link: https://www.blog.pythonlibrary.org/2021/09/12/documenting-code/

Documenting your code early on is quite a bit more important than most new developers realize. Documentation in software development refers to the idea of giving your variables, functions and other id
Bhishan Bhandari: Training a deep learning model with custom dataset for motion transfer

Link: http://feedproxy.google.com/~r/TheTaraNights/~3/v7atS5vL_o4/

Through this article, I want to show the steps I took in preparing custom dataset for training a GAN model for motion transfer. Furthermore, I used google colab which offers free GPU/TPU usage for res
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]