Online Python beautifier and minifier
Paste The Python Code Here:
Indentation can be used to determine the structure instead of using braces or keywords; this is termed the off-side rule.Feel free to add your custom size here.Type the indendation size here:
Leading whitespace (spaces and tabs) at the beginning of a logical line is used to compute the indentation level of the line, which in turn is used to determine the grouping of statements. First, tabs are replaced (from left to right) by one to eight spaces such that the total number of characters up to and including the replacement is a multiple of eight (this is intended to be the same rule as used by Unix). The total number of spaces preceding the first non-blank character then determines the line's indentation. Indentation cannot be split over multiple physical lines using backslashes; the whitespace up to the first backslash determines the indentation.So,python user indentation instead of brackets ,hence this tools is more then a beautifier.
This tools are used by professionals to format, beautify, minify and organize any Python code.By default you can keep the indentation as 2.