Planet Python RSS
215 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Real Python: Providing Multiple Constructors in Your Python Classes

Link: https://realpython.com/courses/multiple-constructors-python/

Sometimes you need to write a Python class that provides multiple ways to construct objects. In other words, you want a class that implements multiple constructors. This kind of class comes in handy w
PyCharm: PyCharm 2022.2.3 Is Out!

Link: https://blog.jetbrains.com/pycharm/2022/10/pycharm-2022-2-3/

We are releasing PyCharm 2022.2.3, which contains important fixes for workflows, including remote interpreters, and fixes for working with MicroPython plugin and the recent Matplotlib 3.6.0 package.
Brett Cannon: Unravelling `if` statements

Link: https://snarky.ca/unravelling-if-statements/

After the initial posting of my summary post about my syntactic sugar series, I received the following reply to one of my tweets:🤔 wondering… ‘if/else’ (14 on your list) can be implemented in terms of
PyCoder’s Weekly: Issue #546 (Oct. 11, 2022)

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

#546 – OCTOBER 11, 2022 View in Browser » Using a Memory Profiler in Python & What It Can Teach You Have you used a memory profiler to gauge the performance of your Python application? Maybe you
Stack Abuse: Instance Segmentation with YOLOv7 in Python

Link: https://stackabuse.com/instance-segmentation-with-yolov7-in-python/

Introduction
Object detection is a large field in computer vision, and one of the more important applications of computer vision "in the wild". From it, instance segmentation was extracted, and is tas
Python Software Foundation: Join the Python Developers Survey 2022: Share and learn about the community

Link: http://pyfound.blogspot.com/2022/10/join-python-developers-survey-2022.html

This year we are conducting the fourth iteration of the official Python Developers Survey. The goal is to capture the current state of the language and the ecosystem around it. By comparing the result
The Python Coding Blog: Mini-Post: Exploring Python Functions Through Experimentation

Link: https://thepythoncodingbook.com/2022/10/11/exploring-python-functions-through-experimentation/

Read the docs. Look at the source code. Yes, these are great tips to figure out what’s happening underneath the hood. But sometimes you want to do a bit of experimentation and exploration of your own
IslandT: Python Example — Write a Python program to find the permutation of an event

Link: https://islandtropicaman.com/wp/2022/10/12/python-example-write-a-python-program-to-find-the-permutation-of-an-event/

In this example let us create a Python program that will find the permutation of an event. A permutation event is very confusing to me and I am still learning it thus this article is not about explain
EuroPython Society: EuroPython Society General Assembly 2022

Link: https://www.europython-society.org/europython-society-general-assembly-2022/

It feels like yesterday that many of us were together in Dublin or online for EuroPython 2022. Each year, the current board of the EuroPython Society (EPS) holds a General Assembly (GA). It is a preci
Python for Beginners: Merge DataFrames in Python

Link: https://www.pythonforbeginners.com/basics/merge-dataframes-in-python

Python provides us with the pandas dataframes to handle tabular data. In this article, we will discuss how we can merge two dataframes in python.
How to Merge Two DataFrames in Python?
Suppose that we
Real Python: ChatterBot: Build a Chatbot With Python

Link: https://realpython.com/build-a-chatbot-python-chatterbot/

Chatbots can provide real-time customer support and are therefore a valuable asset in many industries. When you understand the basics of the ChatterBot library, you can build and train a self-learning
Read the Docs: Read the Docs newsletter - October 2022

Link: https://blog.readthedocs.com/newsletter-october-2022/


September was exciting because a few members of our team finally got to gather in person.
Manuel, Benjamin, and Eric all attended Djangocon Europe in September,
and had lots of great discussions arou
IslandT: Python Example — Write a python program which will save the user inputs into a Pickle file

Link: https://islandtropicaman.com/wp/2022/10/13/python-example-write-a-python-program-which-will-save-the-user-inputs-into-a-pickle-file/

A pickle file with the pickle extension is a binary file where all the user inputs will get saved into this file in binary format. The pickle built-in module will be required in order to use the pickl
Python Bytes: #305 Decorators need love too

Link: https://pythonbytes.fm/episodes/show/305/decorators-need-love-too

<p><strong>Watch the live stream:</strong></p>

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

<p><strong>About the show</strong></p>
Hynek Schlawack: How to Fix the set-output GitHub Actions Deprecation Warning

Link: https://hynek.me/til/set-output-deprecation-github-actions/

If you have a GitHub Actions workflow that sets an output using echo ::set-output key=value, you have started to see an unhelpful deprecation warning. Here’s how to fix it.
Django Weblog: Nominations for 2022 Malcolm Tredinnick Memorial Prize

Link: https://www.djangoproject.com/weblog/2022/oct/14/nominations-for-2022-malcolm-tredinnick-memorial-p/

Hello Everyone!
It is that time of year again when we recognize someone from our community in memory of our friend Malcolm.
Malcolm was an early core contributor to Django and had both a huge influenc
PyCharm: PyCon Portugal 2022 trip report

Link: https://blog.jetbrains.com/pycharm/2022/10/pycon-portugal-2022-trip-report/

This year saw the premier of the first ever PyCon Portugal! With DjangoCon Europe being hosted in Porto this year, the organizers took the opportunity to piggyback off of this conference and set up a
Real Python: The Real Python Podcast – Episode #129: Using an Ellipsis in Python & Goals for CPython 3.12

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

Where should you use an ellipsis in Python? How does it behave as a placeholder in a script, project, or stub file? What are the next goals for the Faster CPython project? This week on the show, Chris
IslandT: Python Example — Replace words within a list, and then sort the entire list and turn it into a string

Link: https://islandtropicaman.com/wp/2022/10/14/python-example-replace-words-within-a-list-and-then-sort-the-entire-list-and-turn-it-into-a-string/

In this example, let us create a python program that will replace words within a list, and then sort the entire list and turn it into a string. Below is the entire program.

def rewrite(word):
ret
Python for Beginners: Concatenate DataFrames in Python

Link: https://www.pythonforbeginners.com/basics/concatenate-dataframes-in-python

We use dataframes in python to handle and analyze tabular data in python. In this article, we will discuss how we can concatenate two or more dataframes in python.
How to Concatenate DataFrames in Pyt
scikit-learn: scikit-learn and Hugging Face join forces

Link:
https://blog.scikit-learn.org/updates/community/joining-forces-hugging-face/

Author: Lysandre Debut , François Goupil

Hugging Face is happy to announce that we’re partnering with scikit-learn to furthe