def _code2pys(self):
        """Writes code to pys file

        Format: <row>\t<col>\t<tab>\t<code>\n

        """

        for key in self.code_array:
            key_str = u"\t".join(repr(ele) for ele in key)
            code_str = self.code_array(key)
            if code_str is not None:
                out_str = key_str + u"\t" + code_str + u"\n"

                self.pys_file.write(out_str.encode("utf-8"))
Writes code to pys file

        Format: <row>\t<col>\t<tab>\t<code>\n