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: https://replit.com/@youtubemirror/fileExample#main.py 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!
@youtubemirror maybe do a check to see what type the file is. if the file is txt use read, or if file is img then use PIL img.show?