Planet Python RSS
213 subscribers
16.8K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
IslandT: Overrides function in TypeScript

Link: https://islandtropicaman.com/wp/2022/11/02/overrides-function-in-typescript/

Below TypeScript example will show you how to override a function. In order to override a function you will need to provide a function with its parameter of type any and its return value also of type
IslandT: Python Example — Find the future sum of money with Python

Link: https://islandtropicaman.com/wp/2022/11/02/python-example-find-the-future-sum-of-money-with-python/

In this python example, I will create a simple python function to calculate the compound interest which will then be used to calculate the future sum of money (F) if the present sum of money (P) and t
PyCharm: How to Debug a Jupyter Notebook in PyCharm

Link: https://blog.jetbrains.com/pycharm/2022/11/how-to-debug-a-jupyter-notebook-in-pycharm/

Making mistakes in your code is a pain, and debugging in Jupyter notebooks can get messy. While Jupyter helpfully displays the full Python traceback, which highlights the lines that have failed, worki
Python for Beginners: String Concatenation and Formatting

Link: https://www.pythonforbeginners.com/concatenation/string-concatenation-and-formatting

As a Python programmer, it’s virtually guaranteed that you’ll need to master string concatenation and formatting.
Whether it’s preparing a message that will eventually be read by a user, or writing to
John Cook: Python code to solve Kepler’s equation

Link: https://www.johndcook.com/blog/2022/11/02/keplers-equation-python/

The previous post looked at solving Kepler’s equation using Newton’s method. The problem with using Newton’s method is that it may not converge when the eccentricity e is large unless you start very c
David Amos: Method Chaining in Pandas: Bad Form Or a Recipe For Success?

Link: https://davidamos.dev/method-chaining-in-pandas/


This article contains affiliate links. See my affiliate disclosure for more information.
Python trainer Matt Harrison has been creating a bit of a stir.Some of his pandas examples, like the one below
Real Python: Should You Update to the Latest Python Bugfix Version?

Link: https://realpython.com/python-bugfix-version/

If you’ve been hanging out in the Python community for a while, you may remember discussions about Python 2 vs Python 3, or you may have seen versions like Python 3.10 and Python 3.11 released with so
Brett Cannon: Unravelling assignment expressions

Link: https://snarky.ca/unravelling-assignment-expressions/

As part of my series on Python&aposs syntactic sugar, I initially skipped tackling conditional expressions because I made them more complicated than I needed to in my head. 😅 But there is some key sub
Talk Python to Me: #388: Python 3.11 is here and it's fast

Link: https://talkpython.fm/episodes/show/388/python-3.11-is-here-and-its-fast

Python 3.11 is here! Keeping with the annual release cycle, the Python core devs have released the latest version of Python. And this one is a big one. It has more friendly error messages and is massi
Mike Driscoll: Python 101 - How to Work with CSV files

Link: https://www.blog.pythonlibrary.org/2022/11/03/python-101-how-to-work-with-csv-files/

There are many common file types that you will need to work with as a software developer. One such format is the CSV file. CSV stands for "Comma-Separated Values" and is a text file format that uses a
Python⇒Speed: Good old-fashioned code optimization never goes out of style

Link: https://pythonspeed.com/articles/old-fashioned-software-optimized/

Sometimes, making your Python data processing software faster doesn’t require libraries like NumPy or Pandas, or specialized techniques like vectorization.
In fact, if you’re doing string processing,
Python Engineering at Microsoft: Python in Visual Studio Code – November 2022 Release

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

We’re excited to announce that the November 2022 release of the Python and Jupyter extensions for Visual Studio Code are now available!
This release includes the following announcements:

Migration to
PyBites: Focus on what you can control

Link: https://pybit.es/articles/pp94-focus-on-what-you-can-control/

Listen here:

Welcome back to our Pybites podcast. This week we talk about the relatively stressful times we live in and hence the need to focus on what YOU can control.
We center our discussion aroun
Real Python: The Real Python Podcast – Episode #131: Exploring the New Features of Python 3.11

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

Python 3.11 is here! Our regular guests, Geir Arne Hjelle and Christopher Trudeau, return to talk about the new version. Geir Arne wrote a series of preview tutorials earlier this year, and his annual
Python for Beginners: Concatenate, Merge, and Join Pandas DataFrames

Link: https://www.pythonforbeginners.com/basics/concatenate-merge-and-join-pandas-dataframes

Pandas dataframes are the primary tools to analyze tabular data in python. In this article, we will discuss different ways to concatenate, merge, and join pandas dataframes using the merge() function,
PyCharm: PyCharm 2022.3 EAP 4 is out!

Link: https://blog.jetbrains.com/pycharm/2022/11/2022-3-eap-4-2/

This EAP build brings suppoot for the new Self type in Python 3.11, updated Tips of the Day, enhanced Bookmarks, and more.
You can get the latest build from our website or the free Toolbox App, or via
The Python Coding Blog: Moving On From The Basics of Python Functions [#1 in Intermediate Python Functions Series]

Link: https://thepythoncodingbook.com/2022/11/05/intermediate-python-functions-series-1/

Those learning to code learn about functions very early on in their journey. Not only do beginners use Python functions right from their first lesson, but they also learn to define their own Python fu
PyPy: PyPy and conda-forge

Link: https://www.pypy.org/posts/2022/11/pypy-and-conda-forge.html

You can use PyPy as your python interpreter in a conda environment. The
conda-forge team has graciously provided this service.
The conda-forge tips-and-tricks
page says:

The conda-forge channel suppo