SYNTAX ERROR WHILE CHANGING THE PATH OF THE SAVING PLOT
Title
Question
IT IS SHOWING ERROR AS BELOW SHOWN, HOW CAN I SOLVE IT.
In [12]: savefig("C:\User\PRADIP\Desktop\sine.png")
File "<ipython-input-12-8e4fe73ad2d9>", line 1
savefig("C:\User\PRADIP\Desktop\sine.png")
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Python-3.4.3 Saving-plots 02-03 min 20-30 sec
Answers:
SYNTAX ERROR WHILE CHANGING THE PATH OF THE SAVING PLOT
IT IS SHOWING ERROR AS BELOW SHOWN, HOW CAN I SOLVE IT.
In [12]: savefig("C:\User\PRADIP\Desktop\sine.png")
File "<ipython-input-12-8e4fe73ad2d9>", line 1
savefig("C:\User\PRADIP\Desktop\sine.png")
^
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
Login to add comment