Ah C, pointers and pointers to pointers for **
I used to like pointers in C but then I used to work on operating systems
written in assembler during my early years in computers (70s, early 80s).
Results in a different mindset.
Ah, cool, thanks. I always wondered what * and ** were for. Since my only
formal computer education was C I was frightened they were pointers!
Use the python * operator to unpack the list, like this:
item_summary_fields = [db.item.id, db.item.title, db.item.image_thumb,
db.item.currency, db.item.shipping_method, db.item.start_price,
db.item.drops, db.item.duration, db.item.price_change, db.item.created_on]
rows = db(db.item.id>0).sel
3 matches
Mail list logo