Common Hack tasks - python