I am having a problems with collections and tuples in Python v 3.3.2

Viewed 4812

I am using the namedtuple with the collections. i am getting this error

NameError: name collections is not defined.  

I am using Python v 3.3.2. Any help would be very appreciated

[for Example] I am getting error on this line

Sale = collection.namedtuple("Sale","productid custerid date price")
1 Answers
Related