Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Vasudev Ram: Automatically enter interactive mode after Python exception

Link: http://jugad2.blogspot.com/2018/08/automatically-enter-interactive-mode.html

By Vasudev RamBug image attributionHi, readers,Here's a Python command-line option that can facilitate debugging, when your program raises an exception:It's the Python interpreter's -i option.Here is
Martin Fitzpatrick: Raindar — Desktop daily weather, forecast app in PyQt

Link: https://replrebl.com/article/desktop-weather-app-pyqt5-python/

The Raindar UI was created using Qt Designer, and saved as .ui
file, which is available for download. This was converted to an importable Python file using pyuic5.
API key
Before running the applica
Martin Fitzpatrick: Driving I2C OLED displays with MicroPython — I2C monochrome displays with SSD1306

Link: https://replrebl.com/article/oled-displays-i2c-micropython/

The following instructions are based on a 0.91in monochrome OLED, but other
displays using the same chipset can be used with this library.



Requirements





Wemos D1 v2.2+ or good imitations.
Buy
REPL|REBL: Raindar — Desktop daily weather, forecast app in PyQt

Link: https://www.replrebl.com/article/desktop-weather-app-pyqt5-python/

The Raindar UI was created using Qt Designer, and saved as .ui
file, which is available for download. This was converted to an importable Python file using pyuic5.
API key
Before running the applica
REPL|REBL: Driving I2C OLED displays with MicroPython — I2C monochrome displays with SSD1306

Link: https://www.replrebl.com/article/oled-displays-i2c-micropython/

The following instructions are based on a 0.91in monochrome OLED, but other
displays using the same chipset can be used with this library.



Requirements





Wemos D1 v2.2+ or good imitations.
Buy
Weekly Python StackOverflow Report: (cxl) stackoverflow python report

Link: http://python-weekly.blogspot.com/2018/08/cxl-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2018-08-25 19:30:09 GMTFind position of maximum per unique bin (binargm
Damián Avila: RISE 5.4.1 is out!

Link: http://www.damian.oquanta.info/posts/rise-541-is-out.html





We're pleased to announce the release of RISE 5.4.1!
RISE lets you show your Jupyter notebook rendered as an executable Reveal.js-based slideshow. It is your very same notebook but in a slidy way!
REPL|REBL: Dictionaries — An almost complete guide to Python's key:value store

Link: https://www.replrebl.com/article/python-dictionaries/

Dictionaries are key-value stores, meaning they store, and allow retrieval of data (or values) through a unique key. This is analogous with a real dictionary where you look up definitions (data) using
BreadcrumbsCollector: Is your test suite wasting your time?

Link: https://breadcrumbscollector.tech/is-your-test-suite-wasting-your-time/

This article has been originally included in a PyconPL 2018 conference book.
Abstract
Nowadays there is no need for convincing anyone about the enormous advantages of writing automated tests for their
Robert Collins: Monads and Python

Link: https://rbtcollins.wordpress.com/2018/08/26/monads-and-python/

When I wrote this I was going to lead in by saying: I’ve been spending a chunk of time recently thinking about how best to represent Monads in Python. Then I forgot I had this draft for 3 years. So..
Daniel Roy Greenfeld: Stop Using Executable Code Outside of Version Control

Link: https://www.pydanny.com/using-executable-code-outside-version-control.html

There's an anti-pattern in the development world, and it's for using executable code as a means to store configuration values. In the Python universe, you sometimes see things like this in settings mo
Mike Driscoll: Fall eBook Sale 2018

Link: http://www.blog.pythonlibrary.org/2018/08/26/fall-ebook-sale-2018/

It’s the start of a new school year, so I am running a new sale this Fall. Feel free to check out my current sales:

ReportLab: PDF Processing in Python
Python 201: Intermediate Python
Python 101

The
Mike Driscoll: PyDev of the Week: Manuel Kaufmann

Link: http://www.blog.pythonlibrary.org/2018/08/27/pydev-of-the-week-manuel-kaufmann/

This week we welcome Manuel Kaufmann (@reydelhumo) as our PyDev of the Week. Manuel has been very active in promoting Python in South America and even received a grant a few years ago to help him in t
Stack Abuse: Text Classification with Python and Scikit-Learn

Link: https://stackabuse.com/text-classification-with-python-and-scikit-learn/

Introduction
Text classification is one of the most important tasks in Natural Language Processing. It is the process of classifying text strings or documents into different categories, depending upon
Real Python: Python Community Interview With Mariatta Wijaya

Link: https://realpython.com/interview-mariatta-wijaya/

For this week’s community interview, I am joined by Mariatta Wijaya.
Mariatta is a web developer at Zapier. She also spends much of her time volunteering in the Python community: she is a core develop
Stack Abuse: Comparing Strings using Python

Link: https://stackabuse.com/comparing-strings-using-python/

In Python, strings are sequences of characters, which are effectively stored in memory as an object. Each object can be identified using the id() method, as you can see below. Python tries to re-use o
REPL|REBL: Displaying images on OLED screens — Using 1-bpp images in MicroPython

Link: https://www.replrebl.com/article/displaying-images-oled-displays/

We've previously covered the basics of driving OLED I2C displays from MicroPython, including simple graphics commands and text. Here we look at displaying monochrome 1 bit-per-pixel images and animati