I have this problem on PythonAnywhere, that I've experienced across scripts.
If I try to save a file in a folder, sometimes the script won't save, seemingly at random, no error message. It just doesn't show up in the folder.
An example of writing a csv file:
uploadfile = "/home/xxxx/yyyy/uploads/" + file + '_upload.csv'
with open(uploadfile, mode='w') as uploadFile:
Am I doing something wrong or is it on your side?