I require a little help...


Joined
Dec 10, 2020
Messages
3
Reaction score
0
I am programming a chatbot, and it is going well. One touch I want to add is adding a background to the text. I have been able to add a background using this code:

Python:
import turtle
screen = turtle.Screen()
# set the screen background
screen.bgpic("filename.png")

this successfully sets the screen, but when I run code after it like this:

Python:
print('Hello, World!')

It runs it and the text shows up on a different screen.
How can I make it so that the text shows up on the background image?
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top