Python Forum
recording a translation table into a file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
recording a translation table into a file
#1
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording a Conversation puvuz 0 447 Jan-31-2025, 02:00 AM
Last Post: puvuz
  Updating column name with translation bobbydave 0 1,230 Sep-17-2024, 03:40 PM
Last Post: bobbydave
  Translation AliceCu 2 1,312 May-16-2023, 09:05 PM
Last Post: deanhystad
  Video recording with Raspberry Pi - What´s wrong with my python code? Montezuma1502 3 2,456 Feb-24-2023, 06:14 PM
Last Post: deanhystad
  Use module docx to get text from a file with a table Pedroski55 8 19,518 Aug-30-2022, 10:52 PM
Last Post: Pedroski55
Smile How we can prevent screen recording murad_ali 3 3,862 Jul-29-2022, 10:29 AM
Last Post: DeaD_EyE
  How to decrease latency while recording streaming video. unicorn2019 0 1,740 Nov-15-2021, 02:12 PM
Last Post: unicorn2019
  Translation API snippyro 0 1,683 Nov-02-2021, 01:09 AM
Last Post: snippyro
  Help with storing temp data for each day then recording min/max in app. trthskr4 3 3,495 Sep-10-2021, 10:51 PM
Last Post: trthskr4
  [GoogleTrans] How can i print my translation word ?... JamieVanCadsand 7 13,526 Aug-29-2021, 12:01 PM
Last Post: Melcu54

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020