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
You are viewing a single comment. View All
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