Whats the simplest way to get a random file from a folder and display it on flask?

后端 未结 0 1990
南旧
南旧 2021-01-23 05:37

this is what ive tried so far, but it keeps saying the directory was wrong BUT I KNOW IT WAS RIGHT infact it even printed the file. Heres my code



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题