def fprintf(fp, fmt, *args):
    """
    Simply an alias for fprintf to allow Python implementation to remain similar to original C version.

    Parameters
    ----------
    fp : output file

    fmt : C-style format string

    args: arguments for format string

    """
    fp.write(fmt % args)
