I want a script that can read text files in zip archives. the text object in the game should take values from the text file. I tried to use a script to python from internet to open the zip archive, but the blender threw me an error.
pfile archive = zipfile.ZipFile('mail.zip', 'r') #Let us verify the operation.. txtdata = archive.read('mail.txt') print(txtdata)
Please could anyone write me a script that would work as i describe. Might be another type of archive.