Text Management scripts - Top 4 Download

Text Management script downloads

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

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

Finding and Replacing Nemo

On each keystroke, all matches of the given text are highlighted, and the corresponding replacements are performed. Parts of the regular expression can be selected to make their scope appear in the original text. ...
Python

Deeply applying str across a data structure

The str() function in the standard library behaves in a slightly weird way when applied against lists: on each element of the list, the repr() is appended. In contrast, this module provides a deep_str() that deeply applies str() across lists. This module also provides utilities to develop custom str() functions. ...
Python

Indices of a SubString in a Given String

This script uses string.index(sub) function which returns a list of indices of ALL occurances of a substring in the string. ...
Python

Convert string to hex

Convert string to hex script converts each char to hex representation and back. ...
Python

DS TypeWriter

DS TypeWriter javascript displays a typewriter effect ...
JavaScript

shed

shed is an easy to use hex editor written for unix/linux using ncurses, with a friendly pico-style interface.Features - Displays each byte as ascii, hex, decimal, octal and binary. - Allows changes to be input in all of the above (and now with bit toggling in the binary column) ...

medit

medit is a text editor.Features: - Configurable syntax highlighting. - Configurable keyboard accelerators. - Multiplatform - works both on unix and windows. - Plugins: can be written in C or Python. - Configurable tools available from the main and context menus. They can be written in 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 ...

cssed

cssed is a small developer editor and validator, that tries to ease the CSS editing. It is an Open Source project, it means that you can download the program but also its source.It features syntax highlighting, syntax validation, MDI notebook based interface, quick CSS properties and values insertion, auto-completion and dialog-based ...

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

Document Text Sizer

Sometimes the text size you've specified for your webpage isn't suitable to the viewer, depending on his browser configuration or OS.This script uses Dynamic CSS to let the viewer himself modify the text size of the page on demand, by clicking on an Increase or Decrease Font Size link.It is most ...
JavaScript

Implementing an Immutable Dictionary

This script represents the implementation of a dictionary, whose items cannot be reset or deleted, nor new can be added. ...
Python

Read a text file by paragraph

Text files are most often read by-line, with excellent direct Python support. Sometimes you need to use other units, such as the paragraph -- a sequence of non-empty lines separated by empty lines. Python doesn't support that directly, but, this script adds such functionality. ...
Python

Read a text file backwards

This script presents another way to read a file line by line, starting at the end. ...
Python

Replacing a portion of a string

This script allows you to replace a portion of a string at a given position. ...
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

Converting Between Different Naming Convetions

These short functions convert identifier names between the most common naming conventions: CapitalizedWords, mixedCase and under_scores. ...
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