I want to print the result of data but I am getting above error. I also used np.genfromtxt
command but it didn't work. Can some one please guide me regarding this issue?
path="folder"
datafiles=os.listdir(path)
for df in datafiles:
print df
data=genfromtxt(df, delimiter=' ')
print data