OK Steve, But why do we say "from array import array" and NOT  "from math 
import math"? Why the difference in syntax?
Gord

"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> On Tue, 13 Nov 2007 11:26:28 -0500, Gordon C wrote:
>
>> OK, thanks to all. The key statement is "from array import array" which
>> is not exactly intuitive!
>
>
> "The only intuitive interface is the nipple. After that, it's all
> learned."  --  Bruce Ediger on user interfaces.
>
> Once you've been using Python for a while, using import becomes as
> intuitive as a spoon. The only tricky part is knowing *which* module to
> import. But, honestly, are you surprised to learn that the array type is
> held in in the array module?
>
>
>
> -- 
> Steven. 


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

Reply via email to