Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
Python Anywhere: The PythonAnywhere newsletter, January 2020

Link: https://blog.pythonanywhere.com/185/

So, we have managed to break another record for our longest period ever between two monthly newsletters. It has been sixteen busy months between September 2018 and now, so we have made 2019 an offici
PyCoder’s Weekly: Issue #403 (Jan. 14, 2020)

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

#403 – JANUARY 14, 2020 View in Browser » A coverage.py Debugging Story Ned was getting reports for a mysterious disk I/O bug in the latest coverage.py release and asked the community for help.
Ahmed Bouchefra: Django 3 Tutorial & CRUD Example with MySQL and Bootstrap

Link: https://www.ahmedbouchefra.com/blog/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
Real Python: Arcade: A Primer on the Python Game Framework

Link: https://realpython.com/arcade-python-game-framework/

Computer games are a great way to introduce people to coding and computer science. Since I was a player in my youth, the lure of writing video games was the reason I learned to code. Of course, when I
John Cook: More efficient way to sum a list comprehension

Link: https://www.johndcook.com/blog/2020/01/15/generator-expression/

List comprehensions in Python let you create a list declaratively, much like the way you would describe the set in English. For example,
[x**2 for x in range(10)]
creates a list of the squares of
PyCon: The 9th Annual PyLadies Auction

Link: https://pycon.blogspot.com/2020/01/the-9th-annual-pyladies-auction.html

The PyLadies Auction is returning to PyCon 2020!If you haven't attended one previously, you're missing out! There's charity. There's competition. There's laughter, food, and drinks. There are auction