Easter Eggs

Peter Hansen peter at engcorp.com
Wed Apr 10 20:28:35 EDT 2002


"Charl P. Botha" wrote:
> 
> >> "import this", IIRC.
> >
> > It's in 2.1.2, 2.1.3, 2.2, and 2.2.1.
> 
> Are you sure?
> 
> [dutidad:/home/cpbotha]% python
> Python 2.1.2 (#1, Mar 16 2002, 00:56:55)
> [GCC 2.95.4 20011002 (Debian prerelease)] on linux2
> Type "copyright", "credits" or "license" for more information.
> >>> import this
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> ImportError: No module named this

Check your python library file where the other ones are stored.
It is just a this.py file like all the other .py files.  If you
don't have it, maybe you don't have a standard Python distribution...



More information about the Python-list mailing list