", line 1, in NameError: name 'fil."/> ", line 1, in NameError: name 'fil."/> ", line 1, in NameError: name 'fil"/>
خرید بک لینک

Vote count: 0

When i run my Python command I keep seeing this error:

Traceback (most recent call last):
  file "<stdin>", line 1, in <module>
NameError: name 'file' is not defined

Can someone send my a copy from the following code but then good with a explain.

file = raw_input("Enter the file name: ")
file = open(file, "r")

Thanks!

asked 42 secs ago

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 15 تير 1395 ساعت: 3:31

صفحه بندی