콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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?

관련 게시물 답글 화면 활동
6
9월 22
67948
0
9월 17
3894
3
8월 24
2249
0
6월 23
3137
1
1월 23
6814