Simple Python Code for Re-Use