Port of Dashing to python