Planet Python RSS
217 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Go Deh: Python: Yield the first item of consecutive series of equal items, from an iterable.

Link: http://paddy3118.blogspot.com/2022/06/python-yield-first-item-of-consecutive.html

 I was reading the source to the more_itertools.unique_unseen function. The function takes an iterator that may have regions where successive items are the same, and yields the item if next item is no
Nicola Iarocci: Eve 2.0 released

Link: https://nicolaiarocci.com/eve-2.0-released/

It’s been a long time coming, but I’m glad to announce that Eve 2 has finally been released today. This release drops support for Python 2, Python 3.5 and Python 3.6 hence the major version bump. Othe
Python Software Foundation: PyCon US: Successful Return to In-Person in 2022

Link: http://pyfound.blogspot.com/2022/06/pycon-us-successful-return-to-in-person.html

We held our first in-person event since 2019 in Salt Lake City last month and it was well-attended, celebratory, and safe. We had 1,753 in-person attendees and 669 online attendees. Of the in-person a
Real Python: Build a Quiz Application With Python

Link: https://realpython.com/python-quiz-application/

In this tutorial, you’ll build a Python quiz application for the terminal. The word quiz was first used in 1781 to mean eccentric person. Nowadays, it’s mostly used to describe short tests of trivia o
Matt Layman: You Don't Need JavaScript

Link: https://www.mattlayman.com/blog/2022/you-dont-need-javascript/

What If I Told You… You Don’t Need JavaScript.
This talk explores why JavaScript is not good fit for most web apps.
I then show how most web apps can do dynamic things using htmx. htmx is an extension
Python Morsels: Python's setattr function

Link: https://www.pythonmorsels.com/python-setattr/

Python's built-in setattr function can dynamically set attributes given an object, a string representing an attribute name, and a value to assign.


Table of contents

Need to dynamically set an attri
Python⇒Speed: Pandas vectorization: faster code, slower code, bloated memory

Link: https://pythonspeed.com/articles/pandas-vectorization/

When you’re processing data with Pandas, so-called “vectorized” operations can significantly speed up your code.
Or at least, that’s the theory.
In practice, in some situations Pandas vectorized opera
Python Software Foundation: The PSF's 2021 Annual Report

Link: http://pyfound.blogspot.com/2022/06/annual-report-2021.html

2021 was a challenging and exciting year for the PSF. We’ve done our best to capture some of the key numbers, details, and context in our latest annual report. Some highlights of what you’ll find in t
Python Engineering at Microsoft: Python in Visual Studio Code – June 2022 Release

Link: https://devblogs.microsoft.com/python/python-in-visual-studio-code-june-2022-release/

We’re excited to announce that the June 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available. 
This release includes improvements to: 

Localization support  
Pyt
EuroPython: The Humans of EuroPython: Laís Carvalho 🍀

Link: https://blog.europython.eu/a-chat-with-lais-carve/

Hi, my name is Laís Carvalho and I am a committee member of Python Ireland since 2019 and volunteer organiser of EuroPython since 2020 (the first online edition) and co-organiser of Pyjamas (a Python
Real Python: The Real Python Podcast – Episode #113: Build Streamlit Data Science Dashboards & Verbose Regex f-Strings

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

Would you like a fast way to share your data science project results as an interactive dashboard instead of a Jupyter notebook? Streamlit is a library for creating simple web apps and dashboards using
Python for Beginners: Python Idle: A Beginners Guide

Link: https://www.pythonforbeginners.com/basics/python-idle-a-beginners-guide

If you are here, you have recently installed python on your machine or you want to do so. Python IDLE is one of the first software you will use to learn python. This article will discuss everything yo
PyBites: The gift of time

Link: https://pybit.es/articles/pp73-the-gift-of-time/

Listen now:

In this episode we talk about the gift of time. 
Are you intentional in how you spend time with people? 
We talk about several advantages, why it’s so important for your career, personal
Will Kahn-Greene: Dennis v1.0.0 released! Retrospective! Handing it off!

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


What is it?
Dennis is a Python command line utility
(and library) for working with localization. It includes:

a linter for finding problems in strings in .po files like invalid Python
variable synta
Quansight Labs Blog: Checking for accessibility: thoughts and a checklist!

Link: https://labs.quansight.org/blog/2022/06/checking-for-accessibility/


JupyterLab Accessibility Journey Part 4
Remember how my last post in this series
called out accessibility as much more complex than a checklist? True to my
sense of humor, this blog post is now a c
Andre Roberge: Nicer arithmetic with Python

Link: https://aroberge.blogspot.com/2022/06/nicer-arithmetic-with-python.html

Beginning programmers are often surprised by floating point arithmetic inaccuracies. If they use Python, many will often write posts saying that Python is "broken" when the see results as follows:>>>
The Python Coding Blog: Sunrise: A Python Turtle Animation Using Named Tuples

Link: https://thepythoncodingbook.com/2022/06/12/python-turtle-animation-using-named-tuples-sunrise/

You may think the Python turtle module isn’t useful for anything. “It’s just for kids”, is what many think of it. However, this module allows you to explore and experiment with many areas of Python. I
Django Weblog: Last Chance for a DjangoCon Europe 2023

Link: https://www.djangoproject.com/weblog/2022/jun/12/last-chance-for-a-djangocon-europe-2023/

TL:DR - There will not be a DjangoCon Europe 2023 if the DSF board does not receive viable proposals for one by August 10 End of Day AoE. There is not sufficient time after that for an organizing grou
Mike Driscoll: PyDev of the Week: Allen Downey

Link: https://www.blog.pythonlibrary.org/2022/06/13/pydev-of-the-week-allen-downey/

This week we welcome Allen Downey (@AllenDowney) as the PyDev of the Week! Allen is the author of Think Python, Modeling and Simulation in Python, Think Java: How to Think Like a Computer Scientist, a