Photo in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Photo in python

How do you add a background into a python script?

9th Jul 2019, 12:15 AM
anrhony
3 Answers
+ 2
Thanks to Google 👇 This might help you 👇 https://stackoverflow.com/questions/13637028/adding-a-background-image-in-JUMP_LINK__&&__python__&&__JUMP_LINK Adding a background image in python - Stack Overflow
9th Jul 2019, 12:25 AM
KingDaniel2004
KingDaniel2004 - avatar
+ 1
You can do this only if you use a GUI library like tkinter or pygame. These are not available on SoloLearn. In a console program, there is no background image, only text output.
9th Jul 2019, 5:15 AM
Tibor Santa
Tibor Santa - avatar
+ 1
pygame.image.load("xxx.jpg") I just know this 😫️ 😫️ 😫️ 😫️
11th Jul 2019, 6:07 AM
Andybirdgirl
Andybirdgirl - avatar