Text Management Python scripts - Top 4 Download

Text Management Python script downloads

Custom String Representations of Bases

Custom String Representations of Bases script allows you to make a number shorter(like timestamps in URLs). ...
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

Chomsky random text generator

This script creates believable Chomsky style obfuscated prose. ...
Python

Convert DB Fixed Width Output to CSV Format

This program takes an input of a fixed width database output file with a header names, dashes, and data and converts it into CSV data. The code assumes that the dashes represent the fixed-column widths. For simplicity, all quotes are removed from data and all columns are wrapped with quotes. ...
Python

Hierarchical Split

Hierarchical Split script is useful when you want to split a string more times, hierarchically. ...
Python

Align text string

Align text string script aligns string with spaces between words to fit specified width. ...
Python

Design mini lanugage

This script uses Python's superb text handling capability to parse and build the data structure from the input text. ...
Python

String Interpolation Evaluation of Expressions

This script represents a lightweight and powerful way to evaluate expressions embedded in strings during interpolation. ...
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

Missing string functions

Missing string functions script introduces some functions to help you manage international text. ...
Python

Safe Eval

This script evaluates constant expressions, including list, dict and tuple using the abstract syntax tree created by compiler.parse. Since compiler does the work, handling arbitratily nested structures is transparent, the implemenation is very straightforward. ...
Python

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

Marshal unicode strings with PyXML

If you want to serialize Python objects to XML then PyXML is a good choice. Except in the case when unicode strings come into play. In this case generic.Marshaller().dump() throws an ugly AttributeError: Marshaller instance has no attribute 'm_unicode' .This script extends both PyXML Marshaller and Unmarshaller to support the de-/serialization ...
Python

A simple Tkinter notebook like widget

This simple notebook class allows you to organize single-toplevel Tkinter apps in a notebook-like fashion, associating each tab to an app, in a way which requires minimal changes in your original apps. This class also supporting different tab orientations (TOP, BOTTOM, LEFT & RIGHT). ...
Python