Changing the indentation of a multi line string

Changing the indentation of a multi line string 1.0

Changing the indentation of a multi line string 1.0 Download Summary

  • Language: Python
  • Platform: Windows / Linux / Mac OS / BSD / Solaris
  • License: Other Free / Open Source License - Pyhon License
  • Databases: N/A
  • Downloads: 366
  • Released: Jun 4, 2007

Changing the indentation of a multi line string 1.0 Description

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.

Changing the indentation of a multi line string 1.0 Keywords

Changing the indentation of a multi line string Bookmark

Hyperlink code:
Hyperlink for Forum code:

Changing the indentation of a multi line string 1.0 Script Download Notice

Top 4 Download periodically updates information of Changing the indentation of a multi line string 1.0 script from the developer, but some information may be slightly out-of-date.

Our script download links are directly from our mirrors or publisher's website. Changing the indentation of a multi line string 1.0 torrent files or shared files from free file sharing and free upload services, including Rapidshare, MegaUpload, YouSendIt, MailBigFile, DropSend, HellShare, HotFile, FileServe, MediaMax, zUpload, MyOtherDrive, SendSpace, DepositFiles, Letitbit, LeapFile, DivShare or MediaFire, are not allowed!

Indent text like email clients

... like email clients script helps you to manage the text identation. ...
Python

Format a text block

This function formats a block of text. The text is broken into tokens. (Whitespace is NOT preserved.) The tokens are reassembled at the specified level of indentation and line width. A string is returned. ...
Python

Change line endings

... between platforms, it is often necessary to convert the line endings on files for them to work, especially ... with . This code simply and easily fixes the problem. ...
Python

Convert a string into a raw string

This script contains a function that takes in an arbitrary string and converts it into its raw string equivalent. It is very useful when a user needs to input text and you want the raw equivalent to be used and not the processed version. ...
Python

Retrieving a line at random from a file

... file of unknown size once, returning a random line from the file. ...
Python