Python

Reading Spreadsheets with OpenPyXL and Python

There are a couple of fundamental actions that you will do with Microsoft Excel documents. One of the most basic is the act of reading data from an Excel file. You will be learning how to get data from your Excel spreadsheets. Editor’s note: This article is based on a chapter from the book: Automating …

Reading Spreadsheets with OpenPyXL and Python Read More »

An Intro to Image Processing with Wand / ImageMagick and Python

ImageMagick is an open-source tool that you can use to create, edit, compose, or convert digital images. It supports over 200 image formats. According to its website, ImageMagick can resize, flip, mirror, rotate, distort, shear, and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses, and Bézier curves. For …

An Intro to Image Processing with Wand / ImageMagick and Python Read More »

Converting MP4 to Animated GIFs with Python

Python can be used to read in the common MP4 video format and convert it to an animated GIF. Of course, you can use a pre-built piece of software if you’d rather, but it’s fun (and a good learning experience) to do it yourself. In this tutorial, you will learn the following: How to extract …

Converting MP4 to Animated GIFs with Python Read More »

Mouse vs Python has a Slack Channel

This website now has a Slack channel. It’s free to join. No subscription required! If you’d like to join, use the following link which is good for the next 30 days: https://join.slack.com/t/mousevspython/shared_invite/zt-s4r3rwt2-ookhEGzP1CQoxEbWIOECAA You can chat with the author of this site, Mike Driscoll, as well as other readers of the site. Mouse vs Python is …

Mouse vs Python has a Slack Channel Read More »

Python 101: Exception Handling (Video)

In this video tutorial, you will learn how exception handling works in Python. Specifically, you will learn the following: Common exceptions Handling exceptions Raising exceptions Examining exception objects Using the finally statement Using the else statement If you prefer to read a tutorial, you might be interested in this: Python 101 – Exception Handling Want …

Python 101: Exception Handling (Video) Read More »