[EMAIL PROTECTED] wrote: <snip> > 56 records were different > Type, FileType, > Item, > Hash, > > Path, Size, CullCd, Ext, DtCr, > DtLMd, DtLAc > Traceback (most recent call last): > File > "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", > line 310, in RunScript > exec codeObject in __main__.__dict__ > File "Q:\PythonScripts\InventoryCompareCase.py", line 234, in ? > main() > File "Q:\PythonScripts\InventoryCompareCase.py", line 117, in main > for (Type,FileType,Item,Hash,Path,Size,CullCd,Ext,DtCr,DtLMd,DtLAc) > in infoDiffs : > ValueError: too many values to unpack > > Thanks > Retheesh
The "too many values to unpack" indicates you don't have enough variables in the [for (...) in infoDiffs: ] construct. You also may want to change some of the names; although "Type" (variable name) and "type" (python function) should be different, it's good practice to not use names that are similar to functions. -- http://mail.python.org/mailman/listinfo/python-list