naf2conll/naf2conll/util.py
def file_exists(filename):
    """
    Ensure a path exists

    Raise ArgumentTypeError if it doesn't.
    """
    if not os.path.exists(filename):
        raise ArgumentTypeError(f"No such file: {filename}")
    return filename

    Ensure a path exists

    Raise ArgumentTypeError if it doesn't.
    
Ensure a path exists
Raise ArgumentTypeError if it doesn't.
Ensure a path exists Raise ArgumentTypeError if it doesn ' t .
def file_exists(filename):
    if not os.path.exists(filename):
        raise ArgumentTypeError(f"No such file: {filename}")
    return filename
def file_exists ( filename ) : if not os . path . exists ( filename ) : raise ArgumentTypeError ( f"No such file: {filename}" ) return filename
Ensure a path exists
Raise ArgumentTypeError if it doesn't.
Ensure a path exists Raise ArgumentTypeError if it doesn ' t .
"""
    Ensure a path exists

    Raise ArgumentTypeError if it doesn't.
    """
filename