Python Format Execute Code