Take the following piece of code:
for item in cart.values():
v = _button_cart % {"idx": idx,
"itemname": item.name,
"amount": item.cost,
"quantity": item.quantity,}
cartitems.append(v)What does the % operator is doing there? Thanks.
-- http://mail.python.org/mailman/listinfo/python-list
