def _changeDirectory(destination):
    if os.path.exists(destination):
        os.chdir(destination)
    else:
        raise IOError('Cannot change directory to non-existent location: {}'.format(destination))
def _changeDirectory(destination):
    if os.path.exists(destination):
        os.chdir(destination)
    else:
        raise IOError('Cannot change directory to non-existent location: {}'.format(destination))