Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Mike Driscoll: Creating a Warhol Triptych Image with Pillow and Python

Link: https://www.blog.pythonlibrary.org/2021/06/17/creating-a-warhol-triptych-image-with-pillow-and-python/

Andy Warhol is a well-known artist who created a famous image where there are multiple copies of the same face but with different background colors.
You can do a similar trick with software using Pyth
Python Insider: Python 3.10.0b3 is available

Link: http://feedproxy.google.com/~r/PythonInsider/~3/bwg2ghZoNfI/python-3100b3-is-available.html

Summer is almost here (at least in half of the planet) and Python 3.10 is finishing baking in the oven. For those of you that want to taste it before is finally ready (and if you are a library develop
Real Python: The Real Python Podcast – Episode #65: Expanding the International Python Community With the PSF

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

The popularity of Python is continuing to grow Developers across the globe are embracing the language. How is Python being used in all of these different countries? How does an organization like the P
death and gravity: When your functions take the same arguments, consider using a class: counter-examples

Link: https://death.andgravity.com/more-arguments

In a previous article,
I talk about this heuristic for using classes in Python:

If you have functions that take the same set of arguments, consider using a class.

Thing is, heuristics don't always w
Stack Abuse: Matplotlib: Turn Off Axis (Spines, Tick Labels, Axis Labels and Grid)

Link: https://stackabuse.com/matplotlib-turn-off-axis-spines-ticklabels-axislabels-grid

Introduction
Matplotlib is one of the most widely used data visualization libraries in Python. Much of Matplotlib's popularity comes from its customization options - you can tweak just about any eleme
Python Engineering at Microsoft: Python in Visual Studio Code – June 2021 Release

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

We are pleased to announce that the June 2021 release of the Python Extension for Visual Studio Code is now available. You can download the Python extension from the Marketplace, or install it directl
Weekly Python StackOverflow Report: (cclxxx) stackoverflow python report

Link: http://python-weekly.blogspot.com/2021/06/cclxxx-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2021-06-19 16:27:27 GMTWhy is Python recursion so expensive and what ca
Talk Python to Me: #321: HTMX - Clean, Dynamic HTML Pages

Link: https://talkpython.fm/episodes/show/321/htmx-clean-dynamic-html-pages

Have you wanted to add more interactivity and liveness to your web application? If you built it using Flask, Django, or some other Python web framework, that thought probably didn't fill you with joy.
Mike Driscoll: PyDev of the Week: James Murphy

Link: https://www.blog.pythonlibrary.org/2021/06/21/pydev-of-the-week-james-murphy/

This week we welcome James Murphy as our PyDev of the Week! James is the founder of mCoding and also has a popular Python tutorial channel on YouTube. You can also see what James is up to over on GitH
Real Python: Simplify Complex Numbers With Python

Link: https://realpython.com/python-complex-numbers/

Most general-purpose programming languages have either no support or limited support for complex numbers. Your typical options are learning some specialized tool like MATLAB or finding a third-party l
Python Morsels: Module vs Script in Python

Link: https://www.pythonmorsels.com/topics/module-vs-script/

A distinction is often made between .py files that represent "modules" vs "scripts" (aka "programs").
What's a script?
A script or program is a .py file that's meant to be run directly.
Here's an extr
Python Morsels: Beginner Python Resources

Link: https://www.pythonmorsels.com/topics/beginner-python-resources/

I get this question a lot: Where should I start to learn Python?
While I do hold Intro to Python team trainings, Python Morsels is currently focused on continued Python learning, that is everything ju
Python⇒Speed: Measuring memory usage in Python: it's tricky!

Link: https://pythonspeed.com/articles/measuring-memory-python/

If you want your program to use less memory, you will need to measure memory usage.
You’ll want to measure the current usage, and then you’ll need to ensure it’s using less memory once you make some i
Montreal Python User Group: PyCon 2021 Videos are online

Link: https://montrealpython.org/en/2021/06/pycon-2021-vids/

PyCon took place online this year. We are sad we didn't get a chance to meet our fellow Pythonistas in person, but we are still glad for the opportunity to watch high quality talks from many accomplis
Dan Stromberg: Python 3.x threading comparison

Link: http://strombrg.blogspot.com/2021/06/python-3x-threading-comparison.html

I've put a comparison of different Python runtimes here. In short, CPython, but also Pypy3 and Nuitka, threaded poorly. This while the Python for tiny systems, Micropython, threaded quite well - at l
Python for Beginners: Complex numbers in Python

Link: https://www.pythonforbeginners.com/data-types/complex-numbers-in-python


While working on data science, machine learning or scientific calculations, we often need to perform calculations on numeric data types including  complex numbers. In this article, we will learn how
Hynek Schlawack: Subclassing in Python Redux

Link: https://hynek.me/articles/python-subclassing-redux/

The conflict between subclassing and composition is as old as object-oriented programming. The latest crop of languages like Go or Rust prove that you don’t need subclassing to successfully write code
PyCoder’s Weekly: Issue #478 (June 22, 2021)

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

#478 – JUNE 22, 2021 View in Browser » How to Pivot and Plot Data With Pandas One of the challenges of working with data is knowing how to manipulate the data format for a particular analysis. A
Podcast.__init__: Finding The Core Of Python For A Bright Future With Brett Cannon

Link: https://www.pythonpodcast.com/modern-python-brett-cannon-episode-320/

Brett Cannon has been a long-time contributor to the Python language and community in many ways. In this episode he shares some of his work and thoughts on modernizing the ecosystem around the languag