Code:
import urllib2 as u import os as o inn = \'dword.txt\' w = open(inn) z = w.readline() b = w.readline() c = w.readline() x = w.readline
You can get this error if you have variable str and trying to call str() function.
str
str()