adafruit/Adafruit-Raspberry-Pi-Python-Code — pull request #71 by shinncchen (2014-01-14 16:38:22+00:00)
Title: Update mcp3008.py

1) It allows readadc() to be imported and used as a function without the print log on other python file
2) The GPIO is cleanup if there is a KeyboardInterrupt