I tried to execute a command using pexpect module and directed the result to a text file.
While appending the text it includes some weird characters in the text file.
This occurs when i tried to use ctrl command in the python script.
Here is the text appended to the file (See Bold char). Please provide me a solution.
[1m configPortConnection ........ [0m< slot connectMode >
[1m cpldReg ..................... [0m< op address data >
Actual text should be like this:
configPortConnection ........ < slot connectMode >
cpldReg ..................... < op address data >
Thanks