Created
November 28, 2015 01:08
-
-
Save ryandotclair/44f221dc4bcf497082fc to your computer and use it in GitHub Desktop.
Block 1 of Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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