Minify Python code