Python code optimizer.