Text Management Python scripts - Top 4 Download

Text Management Python script downloads

Regular expression point of failure

This script debugs non-matching regular expressions by finding out the maximum parts of the pattern and the text that do match. ...
Python

Replacing a portion of a string

This script allows you to replace a portion of a string at a given position. ...
Python

Retrieving a line at random from a file

This procedure reads through a file of unknown size once, returning a random line from the file. ...
Python

Reversing a String by Words or Characters

Reversing a String by Words or Characters script allows you to reverse the characters or words of a string. ...
Python

Searching nested strings

This script searches nested strings from a line of text. The strings are limited by two different characters. ...
Python

Smart pluralisation

Smart pluralisation script has a function that provides more intelligence than simply adding an 's' to the end of a word. ...
Python

Split String into n size pieces

This script takes a string and returns a list containing the n-sized pieces of the string. ...
Python

String Interpolation Evaluation of Expressions

This script represents a lightweight and powerful way to evaluate expressions embedded in strings during interpolation. ...
Python

TeXML

TeXML is an XML syntax for TeX (LaTeX, ConTeXt).The processor transforms the TeXML markup into the TeX markup, escaping special and out-of-encoding characters. The intended audience is developers who automatically generate [La]TeX or ConTeXt files. Features: - LaTeX and ConTeXt support. - No need to bother escaping TeX special characters. ...
Python

Text transformer with conditions

This script uses an efficient way to tranform a file's text to something else, with conditions for few lines. ...
Python

TextWrapper

This script overrides the Python built in function TextWrapper.wrap with an implementation that handles spiltting a document into paragraphs and processing each individually. This allows things such as initial_indent to work as expected. ...
Python

Visualize unicode strings

If you are processing unicode strings and you want to print the string but run into UnicodeEncodeError all the time, this script shows you some simple steps to visualize unicode strings. ...
Python

Yet Another Python Templating Utility YAPTU

"Templating" (copying an input file to output, on the fly inserting Python expressions and statements) is a frequent need, and YAPTU is a small but complete Python module for that; expressions and statements are identified by arbitrary user-chosen regular-rexpressions. ...
Python