How can I read .txt content from a .zip file?

How can I read .txt content from a .zip file? Can anyone show sample code about this?

What have you tried so far?

I have 1083 pieces of content with .txt extension. Only (3.60mb). I need to put this content of my app in assets folder and sign it. I don’t want to sign again. Because I couldn’t do it with .cmd or Windows Powersell. I couldn’t handle it. All I want is to compress this 1083 content and read it in the app. I just need a sample code block, teacher.

What about first unzipping the zip file and then using the file component to read the txt file?

Taifun

1 Like

1083 txt files in one zip?
Why not put them in one txt file on computer?

1 Like

I’m doing a historical practice, man. .txt contents vary by date.

Do you have a sample block code for this? I would be glad if you could help.

Sorry, I do not have sample blocks for your specific problem…
Please try something yourself and if you got stuck, post a screenshot of your relevant blocks…
Taifun

1 Like

My codes are as follows. I just get (deneme.zip) not found error. The (deneme.zip) file cannot be found in the assets folder.
1
2

the extension can’t unzip files in the assets, because it is read only…
btw. the file component of Kodular also is able to unzip…

you might want to try the file component therefore…

Taifun