Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Just thought I'd share a simple little mashup I made between two of the Adafruit Learning SystemRaspberry Pi Tutorials. I've never done anything in Python before (only C++ and other languages), so this might look sloppy, but it seemed to work. I'd appreciate any suggestions on how to clean it up. I'm especially unsure about the inclusions (or as you may call them, imports?).

I combined the 16x2 LCD tutorial with the email LED tutorial to get the LCD to display the RasPi's IP (I was running headless) and how many unread emails I had in my Gmail inbox. Here's what I came up with:

Sorry it took so long to get the photo.The leads to the LED backlight broke off; had to get solder wick.The LCD is a SHARP LM16 x 21A (pins 1-right to 14-left, HD44780A00).I hope to upgrade to an Adafruit LCD Plate, and re-write the script.