Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stefan Scherfke: Raise … from … in Python

Link: https://stefan.sofa-rockers.org/2020/10/28/raise-from/

When you recently upgraded to pylint 2.6.0, you may have stumbled
across a new warning:
src/mylib/core.py:74:20: W0707:
Consider explicitly re-raising using the
'from' keyword (raise-missing-from)
Will Kahn-Greene: Everett v1.0.3 released!

Link: https://bluesock.org/~willkg/blog/dev/everett_1_0_3.html


What is it?
Everett is a configuration library for Python
apps.
Goals of Everett:

flexible configuration from multiple configured environments
easy testing with configuration
easy documentation of c
Real Python: Get Started With Django Part 3: Django View Authorization

Link: https://realpython.com/django-view-authorization/

In part 1 of this series, you learned the fundamentals of Django models and views. In part 2, you learned about user management. In this tutorial, you’ll see how to combine these concepts to do Django
Peter Bengtsson: Generating random avatar images in Django/Python

Link: https://www.peterbe.com/plog/random-avatars-in-django-python

tl;dr; <img src="/avatar.random.png" alt="Random avataaar"> generates this image:

(try reloading to get a random new one. funny aren't they?)
When you use Gravatar you can convert people's email addr
Python Software Foundation: Key generation and signing ceremony for PyPI

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/emzjI6-yJHk/key-generation-and-signing-ceremony-for.html

On Friday October 30th at 11:15 AM EDT the Python Software Foundation will be live streaming a remote key generation and signing ceremony to bootstrap The Update Framework for The Python Package Index
Stack Abuse: Change Tick Frequency in Matplotlib

Link: https://stackabuse.com/change-tick-frequency-in-matplotlib/

Introduction
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any eleme
PyCharm: PyCharm 2020.3 EAP #3

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

The third build of PyCharm 2020.3 is now available in the Early Access Program with features and fixes for a smoother, more productive experience.
We invite you to join our EAP to try out the latest f
Matt Layman: Sending Invites - Building SaaS #77

Link: https://www.mattlayman.com/building-saas/sending-invites/

In this episode, I worked on the form that will send invites to users for the new social network app that I’m building. We built the view, the form, and the tests and wired a button to the new view.
T
Stack Abuse: How to Sort a Dictionary by Value in Python

Link: https://stackabuse.com/how-to-sort-dictionary-by-value-in-python/

Introduction
A dictionary in Python is a collection of items that stores data as key-value pairs. In Python 3.7 and later versions, dictionaries are sorted by the order of item insertion. In earlier v
Python Morsels: Data structures contain pointers

Link: https://www.pythonmorsels.com/topics/data-structures-contain-pointers/




Watch First:

Variables are Pointers
The 2 Types of "Change" in Python
Equality vs Identity

Transcript
Data structures in Python don't actually contain objects.
They references to objects (aka "po
Python Engineering at Microsoft: Python in Visual Studio Code – October 2020 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-october-2020-release/

We are pleased to announce that the October 2020 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it dire
Reuven Lerner: Join the data revolution with my “Intro to SQL” course!

Link: https://lerner.co.il/2020/10/30/join-the-data-revolution-with-my-intro-to-sql-course/

Have you heard? Data is “the new oil” — meaning, data is the most valuable and important thing in the modern world. Which means that if you can store, retrieve, and organize your data, then you (and
Real Python: The Real Python Podcast – Episode #33: Going Beyond the Basic Stuff With Python and Al Sweigart

Link: https://realpython.com/podcasts/rpp/33/

You probably have heard of the bestselling Python book, "Automate the Boring Stuff with Python." What are the next steps after starting to dabble in the Python basics? Maybe you've completed some tut
PythonClub - A Brazilian collaborative blog about Python: Fazendo backup do banco de dados no Django

Link: http://pythonclub.com.br/fazendo-backup-do-banco-de-dados-no-django.html

Apresentação
Em algum momento, durante o seu processo de desenvolvimento com Django, pode ser que surja a necessidade de criar e restaurar o banco de dados da aplicação. Pensando nisso, resolvi fazer
NumFOCUS: Public Apology to Jeremy Howard

Link: https://numfocus.org/blog/jeremy-howard-apology?utm_source=rss&utm_medium=rss&utm_campaign=jeremy-howard-apology

We, the NumFOCUS Code of Conduct Enforcement Committee, issue a public apology to Jeremy Howard for our handling of the JupyterCon 2020 reports. We should have done better. We thank you for sharing yo
Kushal Das: Alembic migration errors on SQLite

Link: https://kushaldas.in/posts/alembic-migration-errors-on-sqlite.html


We use SQLite3 as the database in SecureDrop. We use
SQLAlchemy to talk the database and Alembic for
migrations. Some of those migrations are written by hand.
Most of my work time in the last month w
Weekly Python StackOverflow Report: (ccxlviii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/10/ccxlviii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-10-31 15:38:41 GMTUnpacking: [x,y], (x,y), x,y - what is the diffe
Python Bytes: #205 This is going to be a little bit awkward

Link: https://pythonbytes.fm/episodes/show/205/this-is-going-to-be-a-little-bit-awkward

<p>Sponsored by us! Support our work through:</p>

<ul>
<li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li>
<li><a href="https://testandcode.com
Catalin George Festila: Python 3.8.5 : Testing with openpyxl - part 001 .

Link: http://python-catalin.blogspot.com/2020/08/python-385-testing-with-openpyxl-parts.html

The Python executes the code line by line because is an interpreter language.
This allows users to solve issues in the programming area, fast and easy.
I use python versiono 3.8.5 build on Aug 12 2020