Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
4 Respostas
6725 Visualizações

I generated a txt file when clicking a button using python code and it is automatically  saved to /opt

Is there a way that I can generate a txt file when clicking a button or get the saved txt file from the /opt and download it using browsers. 

Any suggestions of tutorials or documentation about it?

Avatar
Cancelar

Hi, Have you tried urllib package. I think it covers fetching file from system and to download it.

Autor

Hi @Mohammed Amal Thank you.

Do you have sample code that does this?

Publicações relacionadas Respostas Visualizações Atividade
6
set. 22
67841
0
set. 17
3839
3
ago. 24
2186
0
jun. 23
3098
1
jan. 23
6739