Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Zero to Mastery: Python Monthly Newsletter 💻🐍 October 2021

Link: https://zerotomastery.io/blog/python-monthly-october-2021/?utm_source=python-rss-feed

23rd issue of the Python Monthly Newsletter! Read by 20,000+ Python developers every month. This monthly Python newsletter covers the latest Python news so that you stay up-to-date with the industry a
Stack Abuse: Using borb to Create E-books From Project Gutenberg

Link: https://stackabuse.com/using-borb-to-create-e-books-from-project-gutenberg/

The Portable Document Format (PDF) is not a WYSIWYG (What You See is What You Get) format. It was developed to be platform-agnostic, independent of the underlying operating system and rendering engine
Real Python: Python's zipapp: Build Executable Zip Applications

Link: https://realpython.com/python-zipapp/

A Python Zip application is a quick and cool option for you to bundle and distribute an executable application in a single ready-to-run file, which will make your end users’ experience more pleasant.
Trey Hunner: How to flatten a list in Python

Link: https://treyhunner.com/2021/11/how-to-flatten-a-list-in-python/

You’ve somehow ended up with lists nested inside of lists, possibly like this one:
1
>>> groups = [["Hong", "Ryan"], ["Anthony", "Wilhelmina"], ["Margaret", "Adrian"]]

But you want just a single list
Python Morsels: Modules are cached

Link: https://www.pythonmorsels.com/topics/modules-are-cached/




Transcript
Python caches modules.
Re-importing modules doesn't update them
We've have a points module here (a file called points.py) that contains a Point class:
class Point:
def __init__(self,
Python for Beginners: Set Operations in Python

Link: https://www.pythonforbeginners.com/basics/set-operations-in-python

Sets are container objects that contain unique elements in it. In this article, we will look at various set operations like union, intersection, and set difference. We will also implement the set oper
Real Python: Reading Input and Writing Output in Python

Link: https://realpython.com/courses/reading-input-writing-output-python/

You often need to set up a program to communicate with the outside world by obtaining input data from the user and displaying data back to the user. This course will introduce you to reading input and
Test and Code: 168: Understanding Complex Code by Refactoring into Larger Functions

Link: https://testandcode.com/168

To understand complex code, it can be helpful to remove abstractions, even if it results in larger functions. This episode walks through a process I use to refactor code that I need to debug and fix,
Python Software Foundation: The Python Software Foundation is searching for its next Executive Director

Link: http://feedproxy.google.com/~r/PythonSoftwareFoundationNews/~3/XwXlup-jSHY/the-python-software-foundation-is.html

Summary: After announcing earlier this summer that Ewa Jodlowska is leaving after ten years of service, the PSF has begun its search for the organization's next Executive Director. Interested? You can
PyCoder’s Weekly: Issue #497 (Nov. 2, 2021)

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

#497 – NOVEMBER 2, 2021 View in Browser » A Viable Solution for Python Concurrency “The end result thus appears to be a GIL-removal effort that has a rather better-than-average chance of making
Łukasz Langa: Weekly Report, October 25 - 31

Link: https://lukasz.langa.pl/7613882f-364f-49ac-8d8c-d12a940384bb/

This week I spent most time mentoring as well as reviewing PRs. No highlights this time as the report’s late as is, sorry.
Stack Abuse: Python: Split String into List with split()

Link: https://stackabuse.com/python-split-string-into-list-with-split/

Data can take many shapes and forms - and it's oftentimes represented as strings.
Be it from a CSV file or input text, we split strings oftentimes to obtain lists of features or elements.

In this gui
Python for Beginners: Python KeyError

Link: https://www.pythonforbeginners.com/basics/python-keyerror

You might have encountered KeyError while working with dictionaries in python. In this article, we will discuss what a KeyError is, how it occurs and how we can avoid a KeyError while working with a p
Paolo Amoroso: 4 Things Tutorials Don't Tell You About PyPI

Link: http://blog.paoloamoroso.com/2021/09/4-things-tutorials-dont-tell-you-about.html

Time to celebrate!I published my first Python package to PyPI, Suite8080. It’s a suite of Intel 8080 Assembly cross-development tools. It’s in early development, misses some tools, and is rough around
ItsMyCode: JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Link: https://itsmycode.com/jsondecodeerror-expecting-value-line-1-column-1-char-0/

ItsMyCode |
If you are working with APIs and trying to fetch and parse the JSON data while making the HTTP or curl requests and JSON response is not well-formed, Python will throw json.decoder.jsondec
Quansight Labs Blog: NumPy Benchmarking

Link: https://labs.quansight.org/blog/2021/10/numpy-benchmarking/

In this blog post, I'll be talking about my journey in Quansight.
I want to share all things I was involved in and accomplished.
What issues I faced, and most importantly, what were awesome life hac