def write_text(filename=None, text=None):
    """
    Write the text into an ASCII file.

    Return True if success, false if not.

    *filename* : (string) full path name.

    *text* : (string) the text to write.
    """
    if filename is not None and text is not None:
        try:
            __m_f = open(filename, 'w')
            __m_f.write(text)
            __m_f.close()
            return True
        except:
            print("\nERROR : The file " + str(filename) + " cannot be opened in write mode !")
            return False
    else:
        return False