Help ANSI character and python... - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Help ANSI character and python... (/thread-25104.html) |
Help ANSI character and python... - sid4g - Mar-19-2020 Hello, I have a text file that separates my data with "alt + 249" character (middle dot) I figured out that python is a racist towards ANSI in a hard way and after an hour I still can't find a way to bypass this nightmare... Please anyone, if you read a line that has this character, how to detect it?? RE: Help ANSI character and python... - michael1789 - Mar-19-2020 I think the easiest fix would be to use the find/replace feature of the text editor to change that character to something else like a "~" or other character that isn't found in the file. RE: Help ANSI character and python... - sid4g - Mar-19-2020 I guess I will do that Thanks for the idea ^^ |