How do I code this in python. Assuming fields is a list of 3 things.

(myfielda, myfieldb, myfieldc) = fields

When i try that I get 
ValueError: need more than 1 value to unpack.
If i print fields it is in need printed as
['somestring','somestring','somestring']

TIA,
-- 
Paul Kraus
=-=-=-=-=-=-=-=-=-=-=
PEL Supply Company
Network Administrator
216.267.5775 Voice
216.267.6176 Fax
www.pelsupply.com
=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to