"Peter Hansen" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Elliot Temple wrote:
>> from math import *
>> log10(15625)
>
> It's always a good idea, especially when answering a beginner's
> question, to add the caution that this form ("from xxx import *") has
> certain dangers** associated with it, and is widely considered poor
> style, and should really only rarely be used.

Which is why I often do things like
>>> import math as m
>>> m.log...




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to