def print_input_output(opts):
    """
    Prints the input and output directories to the console.

    :param opts: namespace that contains printable 'input' and 'output' fields.
    """
    if opts.is_dir:
        print("Root input directory:\t" + opts.input)
        print("Outputting to:\t\t" + opts.output + "\n")
    else:
        print("Input file:\t\t" + opts.input)
        print("Outputting to:\t\t" + opts.output + opts.input + "\n")
Prints the input and output directories to the console.

    :param opts: namespace that contains printable 'input' and 'output' fields.