import pygame import sys class Player(pygame.sprite.Sprite): def __init__(self): super().__init__() self.image = pygame.image.load("Player_Sprite_R.png") self.rect = self.image.get_rect()