I\'m trying to open a file in Python, but I got an error, and in the beginning of the string I got a /u202a character... Does anyone know how to remove it?
/u202a
Or you can slice out that character
file_path = r"C:\Test3\Accessing_mdb.txt" file_path = file_path[1:] with open(file_path, 'a') as f_obj: f_obj.write('some words')