#!/usr/bin/python2.3 import string wspaces = [] for lit in string.whitespace: wspaces.append(lit) print wspaces # Imprime ['\t', '\n', '\x0b', '\x0c', '\r', ' ']