taking back dh-python