name 'oprn' is not defined in python

technical talkiess
0

 name 'oprn' is not defined





Error code:- 

f = open('test.txt')


try:

    f1 = oprn('does.txt')

except Exception as e:

    print(e)



Solution code:- 

f = open('test.txt')


try:

    f1 = open('does.txt')

except Exception as e:

    print(e)


Post a Comment

0Comments

Thanks you for commenting your questions. I will see question and respond you.

Post a Comment (0)