Skip to content

Instantly share code, notes, and snippets.

@ryandotclair
Created November 28, 2015 01:08
Show Gist options
  • Save ryandotclair/44f221dc4bcf497082fc to your computer and use it in GitHub Desktop.
Save ryandotclair/44f221dc4bcf497082fc to your computer and use it in GitHub Desktop.
Block 1 of Code
# If SRDFA_Reporter.csv file doesn't exist, create it with a header.
if not os.path.isfile('SRDFA_Reporter.csv'):
with open('SRDFA_Reporter.csv', 'w') as csvfile:
writer = csv.writer(csvfile, delimiter=',',
quotechar=',', quoting=csv.QUOTE_MINIMAL)
writer.writerow(
['24h Period', 'Array', 'Storage Group', 'Total MB Sent by SRDFA'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment