انضم إلى نوستر
2024-10-05 13:39:08 CEST

Mathias Micheel on Nostr: I have a python script which adds lines from a csv to an aray (to be saved later on). ...

I have a python script which adds lines from a csv to an aray (to be saved later on). The .csv lines contains unicode characters (like \xa0). But once added to te array, it is converted to \\xa0. Simlarly, \n is converted to \n.
How do I avoid that or easily convert that back!? The final output should just have the regular unicode characters #python #programming