kitir/_libs/file_utils.py
def write_to_tmp_file(content, **kwargs):
    """
    writes the content to a temporary file
    :param content: the content to write (string)
    :return: returns the file_path
    """
    kwargs.setdefault('mode', 'w+')
    with tempfile.NamedTemporaryFile(delete=False, **kwargs) as f:
        f.write(content)
    return f.name

    writes the content to a temporary file
    :param content: the content to write (string)
    :return: returns the file_path
    
writes the content to a temporary file
writes the content to a temporary file
def write_to_tmp_file(content, **kwargs):
    kwargs.setdefault('mode', 'w+')
    with tempfile.NamedTemporaryFile(delete=False, **kwargs) as f:
        f.write(content)
    return f.name
def write_to_tmp_file ( content , ** kwargs ) : kwargs . setdefault ( 'mode' , 'w+' ) with tempfile . NamedTemporaryFile ( delete = False , ** kwargs ) as f : f . write ( content ) return f . name
writes the content to a temporary file
writes the content to a temporary file
"""
    writes the content to a temporary file
    :param content: the content to write (string)
    :return: returns the file_path
    """
returns the file_path
returns the file_path
content
the content to write (string)
the content to write ( string )