Identation
Indent text like email clients script helps you to manage the text identation.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (59): Indent text like email clients Download |
When working with text, it may be necessary to change the indentation level of a block. This code will take a multiline string and add or remove leading spaces to each line so that the indentation level of the block matches some absolute number of spaces.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Changing the indentation of a multi line string Download |
This script contains a class and a main program that perform three related (though complimentary) formatting operations on Python programs. When called as "pindent -c", it takes a valid Python program as input and outputs a version augmented with block-closing comments. When called as "pindent...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Indent Python code, giving block-closing comments Download |
This script introduces a function that converts the indentation with spaces to tabs.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Tabify Download |