[Baypiggies] history of import this

Aahz aahz at pythoncraft.com
Thu Jun 10 17:17:06 CEST 2010


On Wed, Jun 09, 2010, Keith Dart wrote:
> === On Wed, 06/09, Aahz wrote: ===
>>
>> Note that the Pythonic way to get the Zen these days is this:
>> 
>> python -m this
> 
> Ya, that's awesome. It has got to go into my sigline...

BTW, in case it wasn't clear, I was not being serious about
python -m this
being more pythonic (except in the general sense of -m being a useful
command line option that is a recent addition -- I think -m was added in
Python 2.4 or 2.5).  There is something beautiful about "import this"
that gets lost that way.  You can of course do
python -c 'import this'
but that wouldn't have been funny.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"If you don't know what your program is supposed to do, you'd better not
start writing it."  --Dijkstra


More information about the Baypiggies mailing list