Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
1

How to import images in python

mattman101
mattman101

I am wanting to import images to acompany a story. I have tryed metpoint lab and PIL. metpoint stops my code and PIL dosn't display the image. What can I do?

2 years ago

Voters

Comments

TopNew
1
RYANTADIPARTHI
RYANTADIPARTHI

You cannot display images in the console, but if you want it in pygame, or in HTML, css, or js. Try these links:

https://www.geeksforgeeks.org/python-display-images-with-pygame/
https://www.w3schools.com/html/html_images.asp

2 years ago
1
Coder100
Coder100

You can't display images in the console, but you can do two things:

ASCII art.

https://fsymbols.com

Pygame

You could technically also use this

2 years ago
1
SUHASTADIPARTH1
SUHASTADIPARTH1

If you are writing a story, and you want images to accompanied with, you might want to use HTML, CSS, and JS

2 years ago
1
SUHASTADIPARTH1
SUHASTADIPARTH1

You cannot display in the python console.

2 years ago
1
Lann4daze
Lann4daze

You can't display images in the python console.

2 years ago
Load more