Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
4 Ответы
6547 Представления

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?

Аватар
Отменить

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

Автор

Hi @Mohammed Amal Thank you.

Do you have sample code that does this?

Related Posts Ответы Просмотры Активность
6
сент. 22
67307
0
сент. 17
3650
3
авг. 24
1878
0
июн. 23
2923
1
янв. 23
6375