A very simple python resolver