Skip to content

请问如何处理上传的文件? #522

Answered by FHU-yezi
lumiaxth asked this question in Q&A
Discussion options

You must be logged in to vote

使用标准库 tempfile 创建临时文件,调用标准库或者外部命令完成打包写入这个临时文件,然后使用 rb 模式打开,调用下载函数。

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lumiaxth
Comment options

Answer selected by lumiaxth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants