The requirements for this Program to work is : Selenium,Chrome web driver,xlwt and mysql.
Installation:
pip install selenium
pip install xlwt
Chrome Web Driver: http://chromedriver.chromium.org/downloads (Download the Latest Release)
The program mainly first goes to amazon site and looks up for macbook in the search field and eventually stores the elements of the site into database as well as excel. Make sure that you enter the correct address of Chromedrive and if it doesn't work try moving the chromedriver in your current directory and then specify the path.