Planet Python RSS
214 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Stack Abuse: Guide to Interfaces in Python

Link: https://stackabuse.com/guide-to-interfaces-in-python/

Introduction
As you likely know, Python is a dynamically-typed, object-oriented language loved for its simplicity and readability. Its unique approach to object-oriented programming is one of its many
Mike Driscoll: PyDev of the Week: Max Kahan

Link: https://www.blog.pythonlibrary.org/2023/06/26/pydev-of-the-week-max-kahan/

This week, we welcome Max Kahan (@max_does_tech) as our PyDev of the Week! Max is a Python Developer Advocate at Vonage. You can see Max’s code over on GitHub if you’re curious about what Max has been
Real Python: How to Flatten a List of Lists in Python

Link: https://realpython.com/python-flatten-list/

Sometimes, when you’re working with data, you may have the data as a list of nested lists. A common operation is to flatten this data into a one-dimensional list in Python. Flattening a list involves
Python Bytes: #342 Don't Believe Those Old Blogging Myths

Link: https://pythonbytes.fm/episodes/show/342/dont-believe-those-old-blogging-myths

<a href='https://www.youtube.com/watch?v=--AnOKUcXBo' style='font-weight: bold;'>Watch on YouTube</a><br>
<br>

<p><strong>About the show</strong></p>

<p>Sponsored by us! Support our work through:</p
Python Morsels: Counting occurrences in Python with collections.Counter

Link: https://www.pythonmorsels.com/using-counter/

Python's collections.Counter class is extremely handy, especially when paired with generator expressions.


Table of contents

What is a Counter?
Creating a Counter object
Getting the N most common it
CodersLegacy: Creating a Table in CustomTkinter

Link: https://coderslegacy.com/creating-a-table-in-customtkinter/

CustomTkinter is a powerful library that extends the functionality of Tkinter in Python. While CustomTkinter does not provide a built-in table widget, we can recreate a table-like structure using the
Python⇒Speed: When NumPy is too slow

Link: https://pythonspeed.com/articles/numpy-is-slow/

If you’re doing numeric calculations, NumPy is a lot faster than than plain Python—but sometimes that’s not enough.
What should you do when your NumPy-based code is too slow?
Your first thought might
Data School: Make your own *private* GPT with Python 🔒

Link: https://www.dataschool.io/make-a-private-gpt-with-python/

ChatGPT is amazing, but its knowledge is limited to the data on which it was trained.
Wouldn&apost it be great if you could use the power of Large Language Models (LLMs) to interact with your own priv
PyCoder’s Weekly: Issue #583 (June 27, 2023)

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

#583 – JUNE 27, 2023 View in Browser » Building Search DSLs With Django A Domain Specific Language is a small language for a particular application domain. GitHub has a simple example within the
PyBites: Python Coding Interview Learning Path

Link: https://pybit.es/articles/python-coding-interview-learning-path/

Introduction
From a certain perspective, often shared by candidates themselves, the interview process for software jobs can appear unnecessarily nerve-wracking. It seems to be narrowly focused on algo
PyCharm: PyCharm 2023.2 EAP 4 Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/06/2023-2-eap-4/

PyCharm 2023.2 EAP 4 is now available with updates like the new AI Assistant, support for Dev Containers for Gateway, and UI enhancements. To catch up on all of the new features PyCharm 2023.2 will br
Mike Driscoll: An Intro to Ruff – An Extremely Fast Python Linter

Link: https://www.blog.pythonlibrary.org/2023/06/28/an-intro-to-ruff-an-extremely-fast-python-linter/

What is linting? A linter will help you find syntactical and stylistic issues with your code. Python has several great 3rd party linting tools.
Here are the two most famous ones:

pylint
Flake8

Innum
Real Python: Why Are Membership Tests So Fast for range() in Python?

Link: https://realpython.com/python-range-membership-test/

In Python, range() is most commonly used in for loops to iterate over a known range of numbers. But that’s not all it can do! There are other interesting uses of range(). For example, you can pick out
EuroPython: Humble Data workshop for beginners - Pythonistas and data scientists

Link: https://blog.europython.eu/humble-data-workshop-for-beginners/

Among the many wonderful workshops at EuroPython this year, we are pleased to announce we will be running the Humble Data workshop in person on Monday 17th July 2023, at the Prague Congress Centre (PC
Zero to Mastery: Python Monthly Newsletter 💻🐍

Link: https://zerotomastery.io/blog/python-monthly-newsletter-june-2023/?utm_source=python-rss-feed

43rd issue of the Python Monthly Newsletter! Read by 1,000s of Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry
Kay Hayen: Next Nuitka Live Stream

Link: https://nuitka.net/posts/next-nuitka-live-stream-29-06-2023.html

Tomorrow, Thursday 30.06.2023, there will be the forth live stream of me
coding on Nuitka, and talking and chatting with visitors in the Discord
channel created specifically for this. I will go from 1
The Python Coding Blog: More Python Magic and More Stories | June in Review

Link: https://thepythoncodingbook.com/2023/06/30/more-python-magic-and-more-stories-june-in-review/

What a month. June has been very busy. And that’s an understatement. Where shall I start?
Interviews and Podcasts
I was honoured to be invited to two interviews in June.
Mike Driscoll, one of the lead
Real Python: The Real Python Podcast – Episode #162: Exploring the Zen of Python & pandas Features for Finance

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

What advice can you extract from the Zen of Python? How can these nineteen guiding principles help you write more idiomatic Python? This week on the show, Christopher Trudeau is here, bringing another