Mar-31-2020, 02:33 PM
Hi
I'm writing a script to collate ancient greek. Until now, I've been able to create a dictionnary from the Unicode blocks of characters and use it to get a translation table with the maketrans method. I'm wondering whether it is possible to record (with pickle) this table into a file or if I have to record the dictionnary.
Note: Don't bother to reply to this post. I've just seen that the translation table's type is dict. Anyway, I'll record the dictionnary and not the translation table, to be able to modify some entries if necessary.
Arbiel
I'm writing a script to collate ancient greek. Until now, I've been able to create a dictionnary from the Unicode blocks of characters and use it to get a translation table with the maketrans method. I'm wondering whether it is possible to record (with pickle) this table into a file or if I have to record the dictionnary.
Note: Don't bother to reply to this post. I've just seen that the translation table's type is dict. Anyway, I'll record the dictionnary and not the translation table, to be able to modify some entries if necessary.
Arbiel