d[k]=eval(k)

 

 

                lk = ['oid', 'timestamp', 'signals', 'area', 'building', 'city', 'name', 'floor', 'industry', 'region',
                      'stress',
                      'longitude', 'latitude', 'area', 'area_code']

                oid, timestamp, signals, area, building, city, name, floor, industry, region, stress, longitude, latitude, area, area_code = l
                d={}
                for k in lk:
                    d[k]=eval(k)

 

posted @ 2017-10-18 17:01  papering  阅读(215)  评论(0编辑  收藏  举报