text_combined: tim golden cggctimgoldenmeuk tim golden wrote snip elixirbased solution realise rereading post doesnt really solve concern multiple loops etc doubt really problem spirit question heres raw sqlite solution noddy untested youve said youre newish python theres black magic fairly free generator expressions getattrfu think approach might useful need explanation feel free ask import os sys import sqlite3 import wmi osremove ctempwmidb db sqlite3connect ctempwmidb classes_wanted win32_process win32_service generate dictionary class name wmi class c wmiwmi wmi_classes dict class_wanted getattr c class_wanted class_wanted classes_wanted create simplistic sqlite table wmi class one untyped column per attribute class_name wmi_class wmi_classesitems dbexecute create table class_name join p p wmi_classproperties dbcommit wmi class add instances rows corresponding sqlite table class_name wmi_class wmi_classesitems dbexecutemany insert values class_name join p p wmi_classproperties join p wmi_classproperties getattr c p p cproperties c wmi_class dbcommit _______________________________________________ pythonwin32 mailing list kpitckaew45pythonorg httpmailpythonorgmailmanlistinfopythonwin32 wed 06 aug 2008 064415 0000 pythonwin32 advice architecting program design python