How can I download the file user have uploaded

The user will upload .zip files how can i download them and unzip them also after he upload i want my app to make a signal for another .py file to run and the output of that will be in a folder that output i want to convert in zip ang give it to user after giving to the user i want the .zip files and the output files to be deleted the deleting part is option we can delete it mannually also because the site will be private but that part above means where we download zip extract it make another file run and give output that is in a folder to the user in zip format is must.

Please Help!!

Check this blog, it may solve your problem https://blog.jcharistech.com/2021/01/21/how-to-save-uploaded-files-to-directory-in-streamlit-apps/