İçereği Atla
Menü
Bu soru işaretlendi
4 Cevaplar
6506 Görünümler

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
Vazgeç

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

Üretici

Hi @Mohammed Amal Thank you.

Do you have sample code that does this?

İlgili Gönderiler Cevaplar Görünümler Aktivite
6
Eyl 22
67156
0
Eyl 17
3588
3
Ağu 24
1832
0
Haz 23
2898
1
Oca 23
6275