Hello,
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.
With 7Zip, I created a zip file containing a textfile with a charset and then put it in my D: drive. Testing the exact same script, it worked just fine: