# muddersOnRails()
# Sara McAllister November 17, 2017
# Last updated: 11-17-2017

# delete all data from database (this is super sketch)
import dbCalls

def main():
    print('Deleting everything from students, styles, and answers.')
    dbCalls.remove_all()

if __name__ == "__main__":
    main()



# muddersOnRails()
# Sara McAllister November 17, 2017
# Last updated: 11-17-2017

# delete all data from database (this is super sketch)

import os

import dbCalls

summary_file = 'app/assets/images/summary.png'
overall_file = 'app/assets/images/overall.png'

def main():
    print('Deleting everything from students, styles, and answers.')
    dbCalls.remove_all()

    # remove both summary and overall picture
    try:
        os.remove(summary_file)
        os.remove(overall_file)
    except OSError:
        pass

if __name__ == "__main__":
    main()



Remove picture files along with data
Remove picture files along with data
