> Parsing the csv output of a spreadsheet allows me to assign "smith" to a > variable - CurCust. > > Now I want to do something like: > from cust import CurCust > print cust.CurCust["street"] If I understand correctly, try (not tested) import cust current = getattr(cust, CurCust) print current['street'] etc Terry J. Reedy