Domanda

I have a .rar file say for example English-Lexicon.rar Inside this .rar file, are two .txt files, i.e neg.txt and pos.txt. I need to access the contents inside the neg.txt and pos.txt using python. How can this be done? I'm fairly new to python.

È stato utile?

Soluzione

Haven't used it, but google came up with rarfile.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top