(path: str, contents: str = '', overwrite: bool = False)
return False
Make a file at `path` assuming that the directory it resides in already
    exists. The file is saved with contents `contents`
Make a file at `path` assuming that the directory it resides in already
    exists. The file is saved with contents `contents`
Make a file at path assuming that the directory it resides in already exists . The file is saved with contents contents
def make_file(path: str, contents: str = '', overwrite: bool = False) -> bool:
    """
    Make a file at `path` assuming that the directory it resides in already
    exists. The file is saved with contents `contents`
    """
    if overwrite or not os.path.exists(path):
        path = convert_path(path)
        with open(path, 'w') as fh:
            fh.write(contents)
        return True

    return False
def make_file ( path : str , contents : str = '' , overwrite : bool = False ) -> bool : if overwrite or not os . path . exists ( path ) : path = convert_path ( path ) with open ( path , 'w' ) as fh : fh . write ( contents ) return True return False