5 Tasks That would be fun To Script with Python
Tags: scripting, tasks, python
Published: 2017-10-11 21:14:17

---
title: "5 Tasks That would be fun To Script with Python"
published: true
tags: scripting,tasks,python
canonical_url: http://scriptingwithpython.com/5-tasks-fun-to-script-with-python/
---

 ![5 Tasks That would be fun To Script with Python](https://images.unsplash.com/photo-1500110192037-6857e4903521?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=8d76f6a03a0419817f5044064879a6a3)

This is so clichÃ© sounding but the sky really is the limit when it comes to scripting tasks. The feeling of watching the computer do some boring time-consuming task for you is awesome. Sit back and watch it go.

Listed below are 10 fun tasks that are fun to script and/or automate. I will eventually write detailed posts on each one.

## Watch a Webpage for changes

![5 Tasks That would be fun To Script with Python](http://www.thebluediamondgallery.com/wooden-tile/images/changes.jpg) Have you ever wanted to know when a new product was released, when a price changes, or when the most recent episode of Parks and Recreation is released? Why go through the effort of doing that yourself? Write a script to download the webpage of your choosing and watch for some value to change, appear, dissapear, whatever. When it changes, take some action.

## Download a random image and set as desktop background image

![5 Tasks That would be fun To Script with Python](https://media.giphy.com/media/3o85xsGXVuYh8lM3EQ/giphy.gif)  
Find a website (think Flickr, imgur, Google Photos, etc) that hosts images. Write a script to randomly download one and set it as your desktop background image.

## Download latest News from Website, send via Email

![5 Tasks That would be fun To Script with Python](https://cdn.pixabay.com/photo/2015/12/03/10/12/news-1074604_640.jpg)  
Many services will send you notifications about their most recent updates. You could create your own script that downloads these and send them to you via email.

## Create CSV Listing all of your photos

![5 Tasks That would be fun To Script with Python](https://images.unsplash.com/photo-1499700106800-2f870fc20342?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&s=ec96debabb7fff1c5f62662be21b71f3)  
<small>Photo by <a href="https://unsplash.com/@smartphotocourses?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit">Smart</a> / <a href="https://unsplash.com/?utm_source=ghost&amp;utm_medium=referral&amp;utm_campaign=api-credit">Unsplash</a></small>  
Get a list of your photos in Flickr, Google Photos, etc _\<fill in service name here\>_. If they have an API, great. If not, you could scrape the site.

## Make mass changes to a CSV or Excel file

![5 Tasks That would be fun To Script with Python](https://cdn.pixabay.com/photo/2013/04/01/09/18/spreadsheet-98491_640.png)  
There are all sorts of things you can do with data saved as a Comma-Separated Values (CSV) or Excel file. A CSV file is just text but it can be tricky to edit. An Excel document is often a bit more than just text but sometimes it isn't. You could open it in a spreadsheet program like Libre Office, OpenOffice, Numbers, Google Sheets, or Microsoft Excel and make the changes, gulp, manually but that is not what were doing here. Automate that task! Do something better with your time.  
There will be lots of articles on [ScriptingWithPython.com](http://ScriptingWithPython.com/tags/csv-excel) that deal with CSV or Excel files as the basis of some scripting or automation task.

# Have fun

The moral of the story is there are endless ways to script and automated tasks. Have fun! Be productive.

I recommend subscribing to my [newsletter](http://scriptingwithpython.com/subscribe). You will receive updates when new posts are made.