Remove unecessary creation of temporary page.html file
Fix pep8 and pylint errors
Fix quotes and print statements to be more Pythonic