Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Download a file when user click the button using Python
(opens in new tab)
(rajasimon.io)
1 points
rajasimon
3y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
Nextgrid
3y ago
In general I'd recommend using the built-in FileResponse class instead of rolling your own.
j
/
k
navigate · click thread line to collapse