Text Management scripts - Top 4 Download

Text Management script downloads

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

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

Accessing Substrings

This script is useful when you want to access portions of a string. For example, you've read a fixed-width record and want to extract the fields. ...
Python

AFT script

AFT is a document preparation system. It is mostly free form meaning that there is little intrusive markup. AFT source documents look a lot like plain old ASCII text.AFT has a few rules for structuring your document and these rules have more to do with formatting your text rather than embedding ...

AJAX In Place Rich Editor

Using the great libraries Prototype 1.6, Script.Aculo.Us 1.8 and TinyMCE 3.0, IPRE provide a really easy way to implement an in place AJAX-powered editor using WYSIWYG.The script has been tested on Firefox 2, Firefox 3, Internet Explorer 6, Internet Explorer 7, Safari 3 and Opera. Key features "AJAX In Place Rich ...
JavaScript

Ajax instant edit

This is a small piece of javascript that reads al SPAN tags, checks if it has class="editText" and an id=. If that is true, it adds a onclick function. That onclick function will create a textfield or input (depending on the size of the editable text). Someone has the ability to edit the ...
JavaScript

ajax spell

ajax-spell application is an AJAX spell checker for text areas using PHP, Javascript, and pspell / aspell. It is very easy to customize and can be used in many ways for text areas. ...

Align text string

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

AWK like text processing

AWK is a text processing language that makes it easy to "search files for lines [...] that contain certain patterns. When a line matches one of the patterns, awk performs specified actions on that line." (GNU Awk User's Guide). This script provides a way to do the same thing in python. ...
Python

Blender Script

This script allows you to run a very simple templating-system. ...
Python

Bluefish

Bluefish is a powerful editor targeted towards programmers and webdesigners, with many options to write websites, scripts and programming code. Bluefish supports many programming and markup languages, and it focuses on editing dynamic and interactive websites.Features: - Lightweight - Bluefish tries to be lean and clean, as far as possible given ...

Build section numbers for a table of contents

This script shows a way to generate section numbers for a nested document structure. It can be used within a recursive algorithm to build a table of contents. ...
Python

CE editor

CE is a simple, easy to use unix text editor. CE will allow new-comers to unix and those who aren't technically minded, or those who just dont want to have to learn one of the initially user unfriendly editors that are commonly found in a unix environment. Features: - Word Wrap ...

Change line endings

When working between platforms, it is often necessary to convert the line endings on files for them to work, especially when it comes to code. Pass Unix Python code with and it goes nowhere. Same on Mac Python with . This code simply and easily fixes the problem. ...
Python

Changing the indentation of a multi line string

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. ...
Python

Checking whether a string contains a set of chars

This script contains a function to check on the occurence of a set of characters. ...
Python

Chomsky random text generator

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

Conversion to unicode or byte string

Python's built in function str() and unicode() return a string representation of the object in byte string and unicode string respectively. This script introduces an enhanced version of str() and unicode() that could be used as handy functions to convert between byte string and unicode. This is especially useful in debugging when mixup of ...
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

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