Update pytlookup.py

moved things around more PEP