Added python code for HD
Revert "Added python code for HD"

This reverts commit 551f919798ba60748c2fec706bed3fe07c3506ec.