+dimer python scripts