Code cleaning ------------- HEADERS wasn't being used outside of get_results() in any meaningful way.  Logically, it should be local to get_results().
Code cleaning
-------------
HEADERS wasn't being used outside of get_results() in any meaningful way.  Logically, it should be local to get_results().

Replaced try statement in printHTTPErrorOutput() with a call to the (dictionary) get() method.  Seems more succinct.

Replaced old way of handling file IO with "with" contexts, to improve readibility.

Renamed email_list to emails and converted it to a tuple, to imrove readility and memory efficiency (respectively).

Techno-Hwizrdry/checkpwnedemails,Techno-Hwizrdry/checkpwnedemails