Arrays

Steven D'Aprano steve at REMOVE-THIS-cybersource.com.au
Tue Nov 13 16:38:23 EST 2007


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.



More information about the Python-list mailing list