practical python with applications in finance