How do I show a file to a user?
normalF

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!

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

@youtubemirror I do not think it is even possible to display images in the console. Sure you can use some module or something but not by default. What I recommend for images if you are determined to not use html consider looking at Pygame because it has a very easy method for displaying images and text even if they are meant for games.