SyntaxFix
Write A Post
Hire A Developer
Questions
The file may be existing but may have a different path. Try writing the absolute path for the file.
Try os.listdir() function to check that atleast python sees the file.
os.listdir()
Try it like this:
file1 = open(r'Drive:\Dir\recentlyUpdated.yaml')