Existing JSON no found, sometimes

30 Views Asked by At

I have a python program that opens a JSON called pos.json inside a folder called autoGen, i try to open it but sometimes it randomly stops working for 10-20 minutes throwing FileNotFound exception, just to start working again randomly, the route is alright I don't understand what is happening

currentGen = json.loads(open('./autoGen/pos.json', 'r').read())
# works when it wants to 
0

There are 0 best solutions below