I was trying to load a font in pygame to render some simple text. I tried importing a font I had downloaded. The font is named hack.tff, and it's in assets/fonts/
.
hack = pygame.font.Font('assets/fonts/hack.tff', 30)
But, strangely, when running the code, it returns a error: FileNotFoundError: [Errno 2] No such file or directory
.
I ran the code through cmd and opening the .py file. The cmd is on the same directory as the .py file