Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ned Batchelder: Bug #915: solved!

Link: https://nedbatchelder.com//blog/202001/bug_915_solved.html

Yesterday I pleaded,
Bug #915: please help!
It got posted to
Hacker News,
where Robert Xiao (nneonneo) did some impressive debugging and
found the answer.
The user’s code used mocks to simulate an OSE
Abhijeet Pal: Python Program To Display Characters From A to Z

Link: https://djangocentral.com/display-char-from-a-z/

Problem Definition Create a Python program to display all alphabets from A to Z. Solution This article will go through two pythonic ways to generate alphabets. Using String module Python’s built-in st
Podcast.__init__: Using Deliberate Practice To Level Up Your Python

Link: https://www.pythonpodcast.com/reuven-lerner-deliberate-practice-episode-245/

An effective strategy for teaching and learning is to rely on well structured exercises and collaboration for practicing the material. In this episode long time Python trainer Reuven Lerner reflects o
Wingware News: Wing Python IDE 7.2 Release Candidate 1 - January 14, 2020

Link: https://wingware.com/news/2020-01-14

Wing 7.2 adds auto-formatting with Black and YAPF, expands support for virtualenv, adds
support for Anaconda environments, explicitly supports debugging modules launched with
python -m, simplifies man
Python Diary: Creating a transparently encrypted field in Django

Link: http://www.pythondiary.com/blog/Jan.13,2020/creating-transparently-encrypted-field-django.html

This is officially PythonDiary's first Python 3 article! Python 2 is now officially dead, so there's less reasons to make that a major focus going forward.
In some rare situations you may wish to hav
Techiediaries - Django: Django 3 Tutorial & CRUD Example with MySQL and Bootstrap

Link: https://www.techiediaries.com/django-3-tutorial-and-crud-example-with-mysql-and-bootstrap/

Django 3 is released with full async support! In this tutorial, we'll see by example how to create a CRUD application from scratch and step by step. We'll see how to configure a MySQL database, enable
IslandT: Return the word with the longest length within a string using Python

Link: https://kibiwebgeek.com/return-the-word-with-the-longest-length-within-a-string-using-python/

Simple challenge – eliminate all bugs from the supplied code so that the code runs and outputs the expected value. The output should be the length of the longest word, as a number. There will only be
Kushal Das: Creating password input widget in PyQt

Link: https://kushaldas.in/posts/creating-password-input-widget-in-pyqt.html


One of the most common parts of writing any desktop tool and taking password
input is about having a widget that can show/hide password text. In Qt, we can
add a QAction to a QLineEdit to do the same
Abhijeet Pal: Python Program To Reverse a Number

Link: https://djangocentral.com/reverse-a-number/

Problem Definition Create a Python program to reverse a number in Python. Solution This article will show multiple solutions for reversing a number in Python. Reversing a number mathematically The alg
Abhijeet Pal: Python Program to Calculate Power of a Number

Link: https://djangocentral.com/calculate-power-of-a-number/

Problem Definition Create a Python program to take two numbers from the user one being the base number another the exponent then calculate the power. Program import math base_number = float(input("Ent
Abhijeet Pal: Python Program to Find the Factors of a Number

Link: https://djangocentral.com/find-the-factors-of-a-number/

The factor of any number is a whole number which exactly divides the number into a whole number without leaving any remainder. For example, 3 is a factor of 9 because 3 divides 9 evenly leaving no rem
Abhijeet Pal: Python Programs to Create Pyramid and Patterns

Link: https://djangocentral.com/create-pyramid-and-patterns/

In this article, we will go over different ways to generate pyramids and patters in Python. Half pyramid of asterisks def half_pyramid(rows): for i in range(rows): print('*' * (i+1)) half_pyramid(6) O
Real Python: Supercharge Your Classes With Python super()

Link: https://realpython.com/courses/python-super/

While Python isn’t purely an object-oriented language, it’s flexible enough and powerful enough to allow you to build your applications using the object-oriented paradigm. One of the ways in which Pyt
Trey Hunner: Passing a function as an argument to another function in Python

Link: https://treyhunner.com/2020/01/passing-functions-as-arguments/

One of the more hair-raising facts we learn in my introductory Python trainings is that you can pass functions into other functions.
You can pass functions around because in Python, functions are obje
Jaime Buelta: Interviewed about microservices

Link: https://wrongsideofmemphis.com/2019/11/25/interviewed-about-microservices/

I got interviewed about Microservice and talk a bit about my last book, Hands-on Docker for Microservices with Python. I was an interesting view on what are the most important areas of Microservices a
Will Kahn-Greene: Switching from pyup to dependabot

Link: https://bluesock.org/~willkg/blog/mozilla/pyup_to_dependabot.html


Switching from pyup to dependabot
I maintain a bunch of Python-based projects including some major projects like
Crash Stats,
Mozilla Symbols Server, and
Mozilla Location Services.
In order to keep u