Why and how "there is only one way to do something"?
Steve Holden
steve at holdenweb.com
Thu Dec 15 10:29:57 EST 2005
Aahz wrote:
> In article <mailman.2138.1134650183.18701.python-list at python.org>,
> Steve Holden <steve at holdenweb.com> wrote:
>
>>(Part of) Python's credo (which you can read in context by typing
>>
>> import this
>>
>>at an interactive command prompt) is "There should be one (and
>>preferably only one) way to do it".
>
>
> Actually, I've gotten used to doing
>
> python -c 'import this'
Faster:
python -m this
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list
mailing list