Answers for "Exception has occurred: FileNotFoundError"

0

Exception has occurred: FileNotFoundError

import os 
dir_path = os.path.dirname(os.path.realpath(__file__))

open(dir_path + '/' + 'data.json')
Posted by: Guest on April-26-2022

Code answers related to "Exception has occurred: FileNotFoundError"

Python Answers by Framework

Browse Popular Code Answers by Language