Question

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.

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top