Hmm, string did not import correctly. You should see a lot more names
in it, e.g.
>>> dir(string)
['__builtins__', '__doc__', '__name__', '_idmap', '_lower', '_swapcase', '_upper', 'atof', 'atof_error', 'atoi', 'atoi_error', 'atol', 'atol_error', 'center', 'count', 'digits', 'expandtabs', 'find', 'hexdigits', 'index', 'index_error', 'join', 'joinfields', 'letters', 'ljust', 'lower', 'lowercase', 'octdigits', 'rfind', 'rindex', 'rjust', 'split', 'splitfields', 'strip', 'swapcase', 'upper', 'uppercase', 'whitespace', 'zfill']
Perhaps the source code for string.py has been truncated to zero
length, or it hasn't been converted to DOS cr-lf format?
--Guido van Rossum, CWI, Amsterdam <mailto:Guido.van.Rossum@cwi.nl>
<http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>