Planet Python RSS
214 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Podcast.__init__: Keep Your Code Clean And Maintainable Using Static Analysis With Flake8

Link: https://www.pythonpodcast.com/flake8-static-analysis-episode-309/

When you are writing code it is all to easy to introduce subtle bugs or leave behind unused code. Unused variables, unused imports, overly complex logic, etc. If you are careful and diligent you can f
Mike Driscoll: Pillow: Image Processing with Python Now Available!

Link: https://www.blog.pythonlibrary.org/2021/04/06/pillow-image-processing-with-python-now-available/

Pillow: Image Processing with Python is my latest book on the Python programming language. The paperback and Kindle versions are now available on Amazon.
The paperback version of the book is in full
Django Weblog: Django security releases issued: 3.1.8, 3.0.14, and 2.2.20

Link: https://www.djangoproject.com/weblog/2021/apr/06/security-releases/

In accordance with our security release policy, the Django team is issuing
Django 3.1.8,
Django 3.0.14 and
Django 2.2.20.
These releases address the security issue with severity "low" detailed below.
Django Weblog: Django 3.2 released

Link: https://www.djangoproject.com/weblog/2021/apr/06/django-32-released/

The Django team is happy to announce the release of Django 3.2.
This version has been designated as a long-term support (LTS) release, which
means that security and data loss fixes will be applied for
Python Insider: Python 3.10.0a7 is now available for testing

Link: http://feedproxy.google.com/~r/PythonInsider/~3/HVZUgOL8qJA/python-3100a7-is-now-available-for.html

Brrrrr… do you feel that? That’s the chill of beta freeze coming closer. Meanwhile, your friendly CPython release team doesn’t rest even on holidays and we have prepared a shiny new release for you: P
Paolo Melchiorre: Django 3.2 - News on compressed fixtures and fixtures compression

Link: https://www.paulox.net/2021/04/06/django-32-news-on-compressed-fixtures-and-fixtures-compression/

In the Django 3.2 version just released I contributed with new features related to compressed fixtures and fixtures compression. In this article I have explored into the topic and produced some sample
Python Software Foundation: The PSF is hiring a Developer-in-Residence to support CPython!

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/wXMXO2mnbPQ/the-psf-is-hiring-developer-in.html

The Python Software Foundation is happy to announce the creation of the Developer-in-Residence role.The Developer-in-Residence will work full-time for one year to assist CPython volunteer maintainers
The Open Sourcerer: “Getting Things GNOME” 0.5 released!

Link: https://fortintam.com/blog/gtg-0-5-released/

It is time to welcome a new release of the Rebuild of EvanGTGelion: 0.5, “You Can (Not) Improve Performance”!
This release of GTG has been 9 months in the making after the groundbreaking 0.4 release.
Abhijeet Pal: Django Admin Making Model Fields Required

Link: https://djangocentral.com/django-admin-making-model-fields-required/

In this tutorial, we will learn how to make optional model fields required in Django admin to make sure that data for these fields are populated on the creation of ... Read more
The post Django Admin
Python for Beginners: How To Use sys.arv in Python

Link: https://www.pythonforbeginners.com/argv/how-to-use-sys-arv-in-python


Students new to Python learn early on how to use input() to accept data from users. There is, however, another method of interacting with a program.
With the sys module, it’s possible to pass argumen
Read the Docs: Read the Docs newsletter - April 2021

Link: https://blog.readthedocs.com/newsletter-april-2021/


This is the first of our monthly newsletters, in which we would like to
openly share with you the most relevant updates of Read the Docs,
offer a summary of what new features we shipped to our users
Abhijeet Pal: Displaying Custom Validation Exception in Django Admin

Link: https://djangocentral.com/displaying-custom-validation-exception-in-django-admin/

In this tutorial, we will learn how to show custom validation exceptions on Django admin. Understanding The Problem Django admin site will raise exceptions when we try to save objects ... Read more
Th
Abhijeet Pal: Creating Custom Model Validation In Django

Link: https://djangocentral.com/custom-model-validation-in-django/

In this tutorial, we will learn how to create custom model validators using Django. Understanding The Problem Django models come with their own built-in validations, that we put while creating ... Rea
EuroPython: Presenting our EuroPython 2021 logo

Link: https://blog.europython.eu/presenting-our-europython-2020-logo/

Over the last couple of weeks, we have worked with our designer Jessica Peña to come up with a logo which reflects both our desire to come together online during the pandemic and shows how well our co
Learn PyQt: Create applications with QtQuick — Build modern applications with declarative QML

Link: https://www.learnpyqt.com/tutorials/qml-qtquick-python-application/

In previous tutorials we've used the Qt Widgets API for building our applications. This has been the standard method for building applications since Qt was first developed. However, Qt provides anothe
Python for Beginners: Single Line and Multi Line Comments in Python

Link: https://www.pythonforbeginners.com/comments/single-line-and-multi-line-comments-in-python


A comment is a piece of code that isn’t executed by the compiler or interpreter when the program is executed. Comments can only be read when we have access to the source code. Comments are used to ex
Real Python: The k-Nearest Neighbors (kNN) Algorithm in Python

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

In this tutorial, you’ll get a thorough introduction to the k-Nearest Neighbors (kNN) algorithm in Python. The kNN algorithm is one of the most famous machine learning algorithms and an absolute must-
PyCharm: PyCharm 2021.1 Is Out!

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



Try our new out-of-the-box collaborative development tool, auto-import for module member completion, and enhanced WSL support.





Download the new version

We’ve added quite a lot of new function
Mike Driscoll: Python’s with Statement and Context Managers

Link: https://www.blog.pythonlibrary.org/2021/04/07/pythons-with-statement-and-context-managers/

Python came out with a special new keyword several years ago in Python 2.5 that is known as the with statement. This new keyword allows a developer to create context managers. But wait! What’s a conte