AttributeError: 'module' object has no attribute 'letters'

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Feb 11 19:39:19 EST 2008


En Mon, 11 Feb 2008 21:33:25 -0200, John Machin <sjmachin at lexicon.net>  
escribió:

> Otherwise run python from the command line with the -v option and find
> where it's getting the interloper string module from.

interloper: my new word of the day. Thanks!

PS: Another way would be to run the script with python -i, and when it  
halts, execute:

import string
print string.__file__

-- 
Gabriel Genellina




More information about the Python-list mailing list