saving . . . saved Getting error in cat and loadtxt has been deleted. Getting error in cat and loadtxt has been hidden .
Getting error in cat and loadtxt
Dear Sir,
I place of 'cat command' I am using' %pycat command' to fetch the data in Command Prompt.Is it correct?
I am operating python in Windows 10 and while running the loadtxt command i am continuously getting error
year,profit= loadtxt('C:\Users\Manisha\Desktop\Data code\company-a-data.txt',unpack=True)  
But I am getting error 
 File "<ipython-input-58-097f699b5275>", line 1
    year,profit= loadtxt('C:\Users\Manisha\Desktop\Data code\company-a-data.txt',unpack=True)
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Please provide solution of this problem

Python Other-types-of-plots 02-03 min 20-30 sec 14-08-20, 10:53 p.m.


Please try !type command followed by the filepath and check if issue persists.

Make sure you are not copy pasting the path, type the path in the console. 
07-09-20, 9:35 p.m. ankitrj.iitb
same problem

08-08-21, 12:03 p.m.

Login to add comment

Log-in to answer to this question.