Python Forum

Full Version: Help ANSI character and python...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?? Cry
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.
I guess I will do that Idea
Thanks for the idea ^^