Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
IslandT: Python Example – Group telephone number using the re module

Link: https://islandtropicaman.com/wp/2023/03/14/python-example-group-telephone-number-using-the-re-module/

Below Python example will use the re module to group the telephone number without the ‘-‘ sign and the period ‘.’.
Let’s say the phone number has been written in this manner.
123-456-7810.
The below p
Nicola Iarocci: Eve 2.1.0 has just been released

Link: https://nicolaiarocci.com/eve-2.1.0-has-just-been-released/

Today I released Eve v2.1, which comes with official Flask 2.2+ support and the ability to modify the pagination limit on a per-resource basis thanks to the new pagination_limit setting. You can find
Matt Layman: Time Travel with django-simple-history

Link: https://www.mattlayman.com/blog/2023/django-simple-history/

If you’re interested in Django development, you might have come across the django-simple-history package. It’s a great tool that can help you keep track of changes made to your models over time. In th
Real Python: Documenting Python Projects With Sphinx and Read the Docs

Link: https://realpython.com/courses/python-sphinx/

Sphinx is a document generation tool that’s become the de facto standard for Python projects. It uses the reStructuredText (RST) markup language to define document structure and styling, and it can ou
PyCoder’s Weekly: Issue #568 (March 14, 2023)

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

#568 – MARCH 14, 2023 View in Browser » Sharing Your Python App Across Platforms With BeeWare Are you interested in deploying your Python project everywhere? This week on the show, Russell Keith
Matt Layman: Sync or Async? Unpacking the Mysteries of Django Signals

Link: https://www.mattlayman.com/blog/2023/django-signals-async/

Django is a popular web framework for Python developers, known for its robustness, flexibility, and security. One of the features that make Django powerful is its signal system. Signals allow develope
Python GUIs: Handle command-line arguments in GUI applications with PyQt6

Link: https://www.pythonguis.com/faq/command-line-arguments-pyqt6/

Sometimes you want to be able to pass command line arguments to your GUI applications. For example, you
may want to be able to pass files which the application should open, or change the initial start
Python for Beginners: Solved: Dataframe Constructor Not Properly Called Error in Pandas

Link: https://www.pythonforbeginners.com/basics/solved-dataframe-constructor-not-properly-called-error-in-pandas

Pandas dataframes are used to manipulate tabular data in python. While data manipulation, we sometimes need to convert data from other python objects such as lists, strings, and tuples into a datafram
Real Python: How to Evaluate the Quality of Python Packages

Link: https://realpython.com/python-package-quality/

Installing packages with Python is just one pip install command away.
That’s one of the many great qualities that the Python ecosystem has to offer.
However, you may have downloaded a third-party pack
Mike Driscoll: The Python Built-in Functions – aiter and anext (Video)

Link: https://www.blog.pythonlibrary.org/2023/03/15/the-python-built-in-functions-aiter-and-anext-video/

This is the next video in my Python Built-ins Series that I started last week.
Learn a little about aiter() and anext() in this one!

The post The Python Built-in Functions – aiter and anext (Video) a
Data School: Working with Time Zones & Daylight Saving Time in pandas 🕑

Link: https://www.dataschool.io/pandas-time-zones-and-daylight-saving-time/

In most of the US (plus a few other places in North America), Daylight Saving Time began on Sunday, March 12 at 2:00am.
So what is Daylight Saving Time, why should you care about it, and how is it han
PyBites: 8 tips for succeeding in the software industry

Link: https://pybit.es/articles/8-tips-for-succeeding-in-the-software-industry/

Watch here:


Listen here:

Welcome back to the podcast. Today we share 8 tips in response to a question that we were tagged on @ Twitter:

Communication is everything.
Deliberate practice.
Adopt a gr
PyBites: Failure does not exist, the obstacle is often the way

Link: https://pybit.es/articles/failure-does-not-exist-the-obstacle-is-often-the-way/

This content first appeared on our friends list, you can subscribe here.
I remember a long time ago I applied for a job and … I never heard back.
I applied for another job… rejected.
And for yet anoth
Data School: Working with Time Zones & Daylight Saving Time in pandas 🕑

Link: https://www.dataschool.io/time-zones-in-pandas/

In most of the USA (plus a few other places in North America), Daylight Saving Time began on Sunday, March 12 at 2:00am.
So what is Daylight Saving Time, why should you care about it, and how is it ha
Stack Abuse: Python TypeError: < not supported between instances of str and int

Link: https://stackabuse.com/python-typeerror-not-supported-between-instances-of-str-and-int/

Introduction
In this article, we'll be taking a look at a common Python 3 error: TypeError: '<' not supported between instances of 'str' and 'int'. This error occurs when an attempt is made to compare
eGenix.com: Python Meeting Düsseldorf - 2023-03-22

Link: https://www.egenix.com/company/news/Python-Meeting-Duesseldorf-2023-03-22

The following text is in German, since we're announcing a regional user group meeting in Düsseldorf, Germany.

Ankündigung
Das nächste Python Meeting Düsseldorf findet an folgendem Termin statt:

22.0
Giampaolo Rodola: Recognize connection errors

Link: https://gmpy.dev/blog/2023/recognize-connection-errors

Lately I've been dealing with an asynchronous TCP client app which sends
messages to a remote server. Some of these messages are important, and cannot
get lost. Because the connection may drop at any
PyCharm: PyCharm 2023.1 Release Candidate Is Out!

Link: https://blog.jetbrains.com/pycharm/2023/03/2023-1-rc/

PyCharm 2023.1 is just around the corner! Check out the fixes and improvements we added to the PyCharm 2023.1 Release Candidate.
To see what has already been added in PyCharm 2023.1 during the early a
Python Engineering at Microsoft: Introducing the Data Wrangler extension for Visual Studio Code Insiders

Link: https://devblogs.microsoft.com/python/data-wrangler-release/

We’re excited to announce the launch of Data Wrangler, a revolutionary tool for data scientists and analysts who work with tabular data in Python. Data Wrangler is an extension for VS Code Insiders an
Real Python: The Real Python Podcast – Episode #149: Coding With namedtuple & Python's Dynamic Superpowers

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

Have you explored Python's collections module? Within it, you'll find a powerful factory function called namedtuple(), which provides multiple enhancements over the standard tuple for writing clearer