def file_writeOnce(astr_fileName, astr_val, **kwargs):
_str_mode = '<STR_LIT:w>'<EOL>for key, val in kwargs.items():<EOL><INDENT>if key == '<STR_LIT>':   _str_mode   = val<EOL><DEDENT>FILE = open(astr_fileName, _str_mode)<EOL>FILE.write(astr_val)<EOL>FILE.close()<EOL>
Simple "one-shot" writer. Opens <astr_fileName>
and saves <astr_val> to file, then closes
file.