Hey there thank you for trying to help but I figured things out !
Pygame is actually a little more complicated than a line of code you need packages and extra extensions to do it .
The code you sent is for loading a character sprite from an image .
But thanks anyway for your concern !