Create python_loops