i was actually adding a loop in my code and an error of " inconsistent use of tabs and spaces in indentation " with the line of " while ind<3242:"
So if you can help me, here is the code :
ind=0
X=[]
Y=[]
xtemp=[]
for i in x:
r=open('DataSets/Corpus/'+i,'r')
text=r.read()
fin=text.split('^')
for j in fin:
while ind<3242:
Y.append(str(i))
xtemp.append(j)
ind=ind+1
r.close()
I checked the number of spaces and indentation and it looks the same actually. Thanks in advance !