Comparing positions just a python module