How do I show a file to a user?

I want to show a file to a user like the '.txt' file in This file cannot be displayed: via a string or link in the console. How would I go about this without having to share the repl? (A way to download with python would work too.) Cheers!

You are viewing a single comment. View All
Answered by EthanMartin223 [earned 5 cycles]
View Answer

@youtubemirror I think it would make more sense displaying your file contents in a html page using flask.