سؤال

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.

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top