I have JSON data stored in a file (Movies.json). i want to read the file and do some process and then save the output in new file
with open("Movies.json",'r') as f: movies = json.loads(f.read()) // doing some process How can i save the output?
Currently, I am trying this but it's not working:
json.dump(movies, f)