For Python code