import csv# need to define cmp function in Python 3def cmp(a, b): return (a > b) - (a < b)# write stocks data as comma-separated valueswith open('stock
# indent your Python code to put into an email import glob # glob supports Unix style pathname extensions python_files = glob.glob('*.py') for file_name in sorted(python_files): p