Python script for Mac OSX to scan Coke bottle caps