Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/305.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在尾码中重新插入/整理Python代码的最简单方法?_Python_Django_Tidy_Indentation_Coda - Fatal编程技术网

在尾码中重新插入/整理Python代码的最简单方法?

在尾码中重新插入/整理Python代码的最简单方法?,python,django,tidy,indentation,coda,Python,Django,Tidy,Indentation,Coda,在Mac的Coda编辑器中,有谁有一种聪明的方法可以快速修复Python文档中的缩进问题 有人说,reindent.py是一个不错的选择,但它并不是所有版本的Python都提供的。想法?您可以从以下链接获得reindent.py: (注意:我丢失了引用的旧注释的原始链接。原来我在寻找不存在的东西:自动重新格式化所有缩进的东西,即使它们不在正确的列中。不过reindent的链接不错。

在Mac的Coda编辑器中,有谁有一种聪明的方法可以快速修复Python文档中的缩进问题


有人说,
reindent.py
是一个不错的选择,但它并不是所有版本的Python都提供的。想法?

您可以从以下链接获得
reindent.py


(注意:我丢失了引用的旧注释的原始链接。

原来我在寻找不存在的东西:自动重新格式化所有缩进的东西,即使它们不在正确的列中。不过reindent的链接不错。