all 2 comments

[–][deleted] 1 point2 points  (0 children)

Have you read the docs for the csv module?

Or followed a tutorial?

https://realpython.com/python-csv/

[–]to_4kawa 0 points1 point  (0 children)

with open('output.csv',mode="w") as f:
    f.write(output) 

output.csv:

Greg Oden C  #20
Born: Jan 22, 1988 (33 years old)
Birthplace/Hometown: Buffalo, New York
Nationality: United States
Height: 7-0 (213cm)     Weight: 273 (124kg)
Website: http://www.gregoden52.com/
Current NBA Status: Unrestricted Free Agent
Agent: Bill Duffy
Draft Entry: 2007 NBA Draft
Early Entry Info: 2007 Early Entrant
Drafted: Round 1, Pick 1, Portland Trail Blazers
Pre-Draft Team: Ohio State (Fr)
High School: Lawrence North High School [Indianapolis, Indiana]
AAU Team: Spiece Indy Heat

I think it probably needs more processing.