create dictionary from list of variables,"dict((k, globals()[k]) for k in ('foo', 'bar'))"