Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
IslandT: Create a daily earning database with Python SQLite

Link: https://kibiwebgeek.com/create-a-daily-earning-database-with-python-sqlite/

Download DB Browser to view the earning tableCreate earning tableInsert very first data
In this chapter, we will start a project which will then record my daily earning in the future. We will create t
Stack Abuse: Variable-Length Arguments in Python with *args and **kwargs

Link: https://stackabuse.com/variable-length-arguments-in-python-with-args-and-kwargs/

Introduction
Some functions have no arguments, others have multiple. There are times we have functions with arguments we don't know about beforehand. We may have a variable number of arguments because
Matt Layman: User Accounts With django-allauth - Building SaaS #41

Link: https://www.mattlayman.com/building-saas/user-accounts-django-allauth/

In this episode, we added django-allauth to create accounts that default to email instead of using usernames. We added the package, configured some templates, and created tests.
We continued to look a