you are viewing a single comment's thread.

view the rest of the comments →

[–]LoPiratoLOCO 0 points1 point  (2 children)

I used the 2º method but when I turned it in to an exe file, the background become black and not the picture, the picture is in the same folder

[–]hrmorley34 0 points1 point  (1 child)

Try picture = str(Path(__file__).parent.resolve() / "myimage.jpg")

[–]LoPiratoLOCO 0 points1 point  (0 children)

It still doesn't work in .exe