Last answered:

09 Jun 2023

Posted on:

28 Apr 2023

0

cant open file through path

SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape.... when i try to open the csv file through loadtxt or genfromtxt.. it keep showing me the above syntax  error

1 answers ( 0 marked as helpful)
Posted on:

09 Jun 2023

0

you're using forward slashes \ when you should be using either double forward slashes \\ or single backward slashes /

Submit an answer