in scripts/qs-users.py [0:0]
def get_file_contents(bucket,key): resp=s3.get_object(Bucket=bucket,Key=key) lines = resp['Body'].read().split() input_file = csv.DictReader(lines) return input_file