Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Python Circle: Python easter egg - import this and the joke

Link: https://pythoncircle.com/post/755/python-easter-egg-import-this-and-the-joke/

Zen of python, import this, the hidden easter egg with the joke, source code of Zen of python disobey itself
PyPy: Better JIT Support for Auto-Generated Python Code

Link: https://www.pypy.org/posts/2021/09/jit-auto-generated-code.html

Performance Cliffs
A common bad property of many different JIT compilers is that of a "performance
cliff": A seemingly reasonable code change, leading to massively reduced
performance due to hitting s
Stack Abuse: Calculating Euclidean Distance with NumPy

Link: https://stackabuse.com/calculating-euclidean-distance-with-numpy/

In this guide - we'll take a look at how to calculate the Euclidean distance between two points in Python, using Numpy.
What is Euclidean Distance?
Euclidean distance is a fundamental distance metric
Brett Cannon: Unravelling the `async with` statement

Link: https://snarky.ca/unravelling-the-async-with-statement/

I already covered unravelling the with statement, and async with is not much different. Much like with, the language reference for async with gives an example of the statement already destructured. Ba
Mike Driscoll: Merging Dictionaries with the Union Operator

Link: https://www.blog.pythonlibrary.org/2021/09/18/merging-dictionaries-with-the-union-operator/

As a developer, there are times where you may end up with two or more dictionaries that you need to combine into one master dictionary. There are lots of different ways to merge dictionaries in the Py
Talk Python to Me: #334: Microsoft Planetary Computer

Link: https://talkpython.fm/episodes/show/334/microsoft-planetary-computer

On this episode, Rob Emanuele and Tom Augspurger join us to talk about building and running Microsoft's Planetary Computer project. This project is dedicated to providing the data around climate recor
Weekly Python StackOverflow Report: (ccxciii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/09/ccxciii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-09-18 20:56:51 GMTInvoking a constructor in a 'with' statement - [
Mike Driscoll: Python 101 – An Intro to Jupyter Notebook

Link: https://www.blog.pythonlibrary.org/2021/09/19/python-101-an-intro-to-jupyter-notebook/

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain code, equations, visualizations, and formatted text. By default, Jupyter Notebook runs
Podcast.__init__: Experimenting With Reinforcement Learning Using MushroomRL

Link: https://www.pythonpodcast.com/mushroomrl-reinforcement-learning-library-episode-332/

Reinforcement learning is a branch of machine learning and AI that has a lot of promise for applications that need to evolve with changes to their inputs. To support the research happening in the fiel
Mike Driscoll: PyDev of the Week: Tonya Sims

Link: https://www.blog.pythonlibrary.org/2021/09/20/pydev-of-the-week-tonya-sims/

This week we welcome Tonya Sims (@TonyaSims) as our PyDev of the Week! Tonya is a Python Developer Advocate for Vonage and is an active member of the Real Python community. Tonya recently gave a talk
Real Python: Using the "and" Boolean Operator in Python

Link: https://realpython.com/python-and-operator/

Python has three Boolean operators, or logical operators: and, or, and not. You can use them to check if certain conditions are met before deciding the execution path your programs will follow. In thi
Brett Cannon: (Not) unravelling generator expressions

Link: https://snarky.ca/not-unravelling-generator-expressions/

In this post on Python&aposs syntactic sugar, I want to try to tackle generator expressions. If you look at the language definition for generator expressions you will see that it says, "[a] generator
Python for Beginners: Find the mirror image of a binary tree

Link: https://www.pythonforbeginners.com/data-structures/find-the-mirror-image-of-a-binary-tree

Unlike a Python dictionary, a list, or a set, elements of a binary tree are represented in a hierarchical manner. Having hierarchy in a binary tree allows one to find its mirror image as each element
Mike Driscoll: How to Send Emails with Python

Link: https://www.blog.pythonlibrary.org/2021/09/21/how-to-send-emails-with-python/

Python provides a couple of really nice modules that you can use to craft emails with. They are the email and smtplib modules. Instead of going over various methods in these two modules, you’ll spend
Django Weblog: Django 4.0 alpha 1 released

Link: https://www.djangoproject.com/weblog/2021/sep/21/django-40-alpha-1-released/

Django 4.0 alpha 1 is now available. It represents the first stage in the 4.0
release cycle and is an opportunity for you to try out the changes coming in
Django 4.0.
Django 4.0 has a abundance of new
PyCoder’s Weekly: Issue #491 (Sept. 21, 2021)

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

#491 – SEPTEMBER 21, 2021 View in Browser » Structural Pattern Matching in Python 3.10 “Python 3.10, which is due out in early October 2021, will include a large new language feature called stru
Brett Cannon: Unravelling comprehensions

Link: https://snarky.ca/unravelling-comprehensions/

After failing to unravel generator expressions, in this post as part as my Python syntactic sugar post series I want to tackle comprehensions. Thanks to a change made in Python 3.0, recreating compreh
Mike Driscoll: Creating an MP3 Tagger GUI with wxPython

Link: https://www.blog.pythonlibrary.org/2021/09/22/creating-an-mp3-tagger-gui-with-wxpython/

I don’t know about you, but I enjoy listening to music. As an avid music fan, I also like to rip my CDs to MP3 so I can listen to my music on the go a bit easier. There is still a lot of music that is
Stack Abuse: Guide to Python's keyboard Module

Link: https://stackabuse.com/guide-to-pythons-keyboard-module/

Introduction
Python is one of the most suitable languages for automating tasks. Whether it's repeatable (ethical) web scraping after some time period, starting some programs on a computer start up, or