On Sat, 31 Jul 2021 14:07:05 +0530, 37_VA_VEER CHAKRABORTY
<veerchakraborty...@gmail.com> declaimed the following:

>pygame.image.load('assets/Flappy Bird.png')
>However, when I ran the script it was showing an error message - File not
>found
>Please advise me on how to upload the sprites and where I was going wrong.

        First attempt: use a full pathname.

        Second: determine what the "current working directory" is in which your
program is running, then use a pathname relative to that directory.


-- 
        Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfr...@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to