Suggestions for good programming practices?

Bengt Richter bokr at oz.net
Tue Jun 25 15:46:54 EDT 2002


On Tue, 25 Jun 2002 14:31:48 +0100, Simon Brunning <SBrunning at trisystems.co.uk> wrote:

>> From:	Emile van Sebille [SMTP:emile at fenx.com]
>> Aahz
>> > In Python 2.1.2 or higher, fire up the interactive interpreter and
>> type
>> > "import this".
>> 
>> Except ActiveState's
>> 
>> F:\Python22as>python
>> Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import this
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in ?
>> ImportError: No module named this
> 
>It isn't in the 2.2 series until 2.2.1, IIRC.
>
I think it must be a distribution glitch. My 2.2 banner looks identical:

 Python 2.2 (#28, Dec 21 2001, 12:21:22) [MSC 32 bit (Intel)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 >>> import this
 The Zen of Python, by Tim Peters 

 Beautiful is better than ugly.
 Explicit is better than implicit.
 Simple is better than complex.
 ...

Regards,
Bengt Richter



More information about the Python-list mailing list