def output(output_option, value):
    'Print to standard output.'
    if (output_option == 'full'):
        print(value)
    elif (output_option == 'filename'):
        if value.startswith('filename='):
            print(value[len('filename='):])
Print to standard output.
def output(output_option, value):
    
    if (output_option == 'full'):
        print(value)
    elif (output_option == 'filename'):
        if value.startswith('filename='):
            print(value[len('filename='):])