File handling Error-

CAnt able to open a file using open command…
No such file or directory: ‘ScoAnalyser.txt’ this error exist whenever I use this command on any txt file

Hi Rashmi,

That was the purpose of this tutorial that if we get any error in our code, how to handle that error so that the execution of the program doesn’t stop.

If you are getting this error, use try except block

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.