Re: [python-win32] Dict, List and Com Object...oh my!

2009-08-02 Thread Person, Roderick
Not really a pywin32 related by I will bite :) For every iteration of the while loop you have to create a new dictionary, fill it up with data and append to the list. I posted here because this has never happened to me before, only with the COM object thrown in does it do this. So I assumed it

[python-win32] Dict, List and Com Object...oh my!

2009-07-31 Thread Person, Roderick
I'm connecting to a MS SQL 2005 database using ADO com objects and getting a dataset from a stored procedure -- Works great. I'm placing that dataset into a dictionary -- works. I'm placing that dictionary into a list -- problem!! When I move to the next record in the dataset and place the