'got error for set map path in visual studio code

I'm try to set path for map using this line

world.save('maps_htmls/world_empty.html')

and i got error :-

File "e:\Monty Python Project\ALL TASK\Task\Individual programming project.py", line 35, in <module>
    world.save('../maps_htmls/world_empty.html')
  File "C:\Users\singh\AppData\Local\Programs\Python\Python310\lib\site-packages\branca\element.py", line 164, in save
    fid = open(outfile, 'wb')
FileNotFoundError: [Errno 2] No such file or directory: '../maps_htmls/world_empty.html'


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source