Planet Python RSS
214 subscribers
17.1K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
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
PyCharm: PyCharm 2021.3 EAP #4

Link: http://feedproxy.google.com/~r/Pycharm/~3/QnCGanyHA9Y/

The fourth PyCharm 2021.3 EAP build is out! Please give it a try, and don’t forget to share your feedback on Twitter (by mentioning @pycharm) or by reporting issues to our tracker!

DOWNLOAD PYCHARM 2
Paolo Amoroso: An Intel 8080 Assembly Suite in Python

Link: http://blog.paoloamoroso.com/2021/11/an-intel-8080-assembly-suite-in-python.html

A blog post I stumbled upon made me start a new project, crank out lots of Python code, slip down a rabbit hole of arcane and fascinating corners of retrocomputing, and overflow with fun.The project i
"Mathspp Pydon'ts": Pass-by-value, reference, and assignment | Pydon't 🐍

Link: https://mathspp.com/blog/pydonts/pass-by-value-reference-and-assignment


When you call a function in Python and give it some arguments...
Are they passed by value? No!
By reference? No!
They're passed by assignment.

(If you are new here and have no idea what a Pydon't is
ItsMyCode: Graphviz’s executables not found

Link: https://itsmycode.com/graphvizs-executables-not-found/

ItsMyCode |
Graphviz is open source graph visualization software that helps represent structural information as diagrams of abstract graphs and networks. Sometimes, if you install this on windows with
Python for Beginners: Linear Search in Python

Link: https://www.pythonforbeginners.com/basics/linear-search-in-python

While programming, you must have encountered situations where we need to know the position of an element in a list. We can use the linear search algorithm for this purpose. In this article, we will im
Matt Layman: Command Your App

Link: https://www.mattlayman.com/understand-django/command-apps/

In the last Understand Django article, we dug into file management. We saw how Django handles user uploaded files and how to deal with them safely.
With this article, you’ll learn about commands. Comm
Sandro Tosi: Python: send emails with embedded images

Link: http://sandrotosi.blogspot.com/2020/12/python-sent-emails-with-embedded-images.html

to send emails with images you need to use MIMEMultipart, but the basic approach: import smtplibfrom email.mime.multipart import MIMEMultipartfrom email.mime.image import MIMEImagemsg = MIMEMultipart(