Planet Python RSS
213 subscribers
17K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Two Bit Arcade: Etch-A-Snap — The Raspberry Pi powered Etch-A-Sketch camera

Link: https://www.chipperbits.com/article/etch-a-snap/

Etch-A-Snap is (probably) the worlds first Etch-A-Sketch Camera. Powered by a Raspberry Pi Zero (or Zero W) it snaps photos just like any other camera, but outputs them by drawing to an Pocket Etch-A-
Two Bit Arcade: Image Processing — Preparing the image to plot

Link: https://www.chipperbits.com/article/etch-a-snap--processing/

Etch-A-Sketch is a very simple 2D plotter which is limited to drawing a single unbroken line, of a single thickness and colour which is dark-ish on a silver-ish screen. To be able to plot a photo onto
Two Bit Arcade: Drawing — Converting the image to a line drawing

Link: https://www.chipperbits.com/article/etch-a-snap--drawing/

The image processing produces a 1 bit image (B&W) of 240x144 pixels. The next step is to take this image and convert it into movements for the motors.

The way this is done is governed largely by the
Two Bit Arcade: Plotter — From drawing instructions to motor movements.

Link: https://www.chipperbits.com/article/etch-a-snap--plotter/

So far we've built the Etch-A-Snap and processed an image to produce a 1 bit image. In this part we’ll look at how to take this image and generate the draw instructions for the plotter.
Etch-A-Sketch
Talk Python to Me: #289 Discovering exoplanets with Python

Link: https://talkpython.fm/episodes/show/289/discovering-exoplanets-with-python

When I saw the headline "Machine learning algorithm confirms 50 new exoplanets in historic first" I knew the Python angle of this story had to be told! And that's how this episode was born. Join David
Python⇒Speed: Optimizing your code is not the same as parallelizing your code

Link: https://pythonspeed.com/articles/do-you-need-cluster-or-multiprocessing/

You’re processing a large amount of data with Python, the processing seems easily parallelizable—and it’s sloooooooow.
The obvious next step is switch to some sort of multiprocessing, or even start pr
Real Python: Handling Missing Keys With the Python defaultdict Type

Link: https://realpython.com/courses/python-defaultdict-type/

The Python defaultdict type behaves almost exactly like a regular Python dictionary, but if you try to access or modify a missing key, then defaultdict will automatically create the key and generate a
PyCoder’s Weekly: Issue #446 (Nov. 10, 2020)

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

#446 – NOVEMBER 10, 2020 View in Browser » Doing Key-Driver Analysis in Python Take a look at how statistical knowledge plays an important role in answering business questions like “What drives
Stack Abuse: Generating Command-Line Interfaces (CLI) with Fire in Python

Link: https://stackabuse.com/generating-command-line-interfaces-cli-with-fire-in-python/

Introduction
A Command-line interface (CLI) is a way to interact with computers using textual commands.
A lot of tools that don't require GUIs are written as CLI tools/utilities. Although Python has t
Chris Moffitt: Comprehensive Guide to Grouping and Aggregating with Pandas

Link: https://pbpython.com/groupby-agg.html


Introduction
One of the most basic analysis functions is grouping and aggregating data. In some cases,
this level of analysis may be sufficient to answer business questions. In other instances,
this
Real Python: Use Sentiment Analysis With Python to Classify Movie Reviews

Link: https://realpython.com/sentiment-analysis-python/

Sentiment analysis is a powerful tool that allows computers to understand the underlying subjective tone of a piece of writing. This is something that humans have difficulty with, and as you might ima
PyCharm: Webinar: “What It’s Like To Do Instructional Videos on YouTube” with Nelson Jamal

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

Want to learn about producing technical videos on YouTube and gaining an audience? Nelson Jamal, who has experience with both, joins us to take a deep look at his soon-to-be-released PyCharm tutorial
Dataquest: Beginner Python Tutorial: Analyze Your Personal Netflix Data

Link: https://www.dataquest.io/blog/python-tutorial-analyze-personal-netflix-data/

How much time have I spent watching The Office? That's a question that has run through my head repeatedly over the years. The beloved sitcom has been my top "comfort show/background noise" choice for