#! /usr/bin/python #------------------------------------------------------------------------ # name: # author: J Skinner # Date Written: # Purpose: # Notes #------------------------------------------------------------------------ #------------------------ IMPORTS ------------------------------------ import string import os import sys #------------------------ CODE ------------------------------------ def get_file_as_string(fname): return '\n'.join(open(fname).readlines()) def flatten(list): return [_i[0] for _i in list] #------------------------------------------------------------------------ #------------------------ END ------------------------------------