Python Forum
Help ANSI character and python...
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help ANSI character and python...
#1
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
Reply
#2
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.
Reply
#3
I guess I will do that Idea
Thanks for the idea ^^
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SyntaxError: unexpected character after line continuation character siteshkumar 2 309 Jul-13-2020, 07:05 PM
Last Post: snippsat
  how can i handle "expected a character " type error , when I input no character vivekagrey 2 547 Jan-05-2020, 11:50 AM
Last Post: vivekagrey
  Replace changing string including uppercase character with lowercase character silfer 11 1,681 Mar-25-2019, 12:54 PM
Last Post: silfer
  Converting from HEX to ANSI Blackklegend 5 2,057 Oct-24-2018, 02:28 PM
Last Post: Blackklegend
  how to add a coma in print statement of python without preceding space character? brittocj 3 906 Sep-27-2018, 09:03 PM
Last Post: nilamo
  How to convert character to integer in python rajeev1729 2 1,740 Oct-03-2017, 04:30 PM
Last Post: nilamo
  How to map character to integer in python rajeev1729 1 2,141 Oct-02-2017, 01:41 PM
Last Post: buran
  SyntaxError: unexpected character after line continuation character Saka 2 15,562 Sep-26-2017, 09:34 AM
Last Post: Saka

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020