#!/usr/bin/env python

'''
doc string explaining this script
'''


import sys
from matplotlib import pyplot as mmp



def function1(parameter1, upperCase=False):
 '''
 function specific docstring.'''


 if not upperCase:
     variable = parameter1
 else:
     variable = parameter1.upper()
 return variable


def main():
    '''
    This is the main function.
    '''

    string = 'hello world'

    result1 = function1(string, upperCase=True)
    print result1


if __name__ == '__main__':
    '''This should also have a doc string.'''

    main()
    sys.exit('\n This is the end\n)
