Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

randomly present images in ['1.png','2.png',...,'9.png'] with canvas.image

Hi, i am trying to to present random image with variable and the canvas.image function.
when i used the image1=['1.png','2.png',...,'9.png'] , it always threw out error with osexception: e.g.,
"6.png" does not exist.
How to present it with "canvas.image(image1, False, 40, 1200)" then?
or other better solutions?


Sign In or Register to comment.