i am using Anaconda (spyder IDE) to program in Python, but I recently installed Canopy. In most of my programs I'm using genfromtxt command to load data into my programs. The whole line looks like this
data=np.genfromtxt('Data/1.txt',usecols=(0,1),delimiter='\t')
In Anaconda this works fine, but when I try to run the same code in Canopy I get the following error
OSError: Data/1.txt not found.
Could, having the both distributions installed at the same time, be the problem? Or does Canopy requires different syntax for writing filepath? I know this is basic problem, but I don't know what to do with this at all. Also I'm using Mac OS High Sierra. Maybe it is important.
Thanks