I am trying to make a game with Python 3.9.13 when i try to load a file for example like this:
sky_ = pygame.image.load('/graphics/Sky.png').convert_alpha()
the python file is located right behind the graphics folder so python should look where the python file is located but it looks in C:/Users/IAMAUSER
it only works if i have it like this:
sky_ = pygame.image.load('C:/Users/IAMAUSER/OneDrive/Desktop/Pro/Pygame/graphics/Sky.png').convert_alpha()
i hope i explained it well enough
i tried doing it like this but it still didnt work:
sky_ = pygame.image.load('../graphics/Sky.png').convert_alpha()
i also tried like this:
sky_ = pygame.image.load('C:\..\Game\graphics\Sky.png').convert_alpha()
it was expecting for that to work but it did not