[ create a new paste ] login | about

Link: http://codepad.org/Pqw8a6IT    [ raw code | output | fork ]

RogerPate - Python, pasted on Jun 8:
1
2
3
4
5
6
text = """\
<PASTE TEXT HERE>
"""

four_sp = " " * 4
print four_sp + text.rstrip().replace("\t", "  ").replace("\n", "\n" + four_sp)


Output:
1
    <PASTE TEXT HERE>


Create a new paste based on this one


Comments: