Simple Text Cleaning Python 3.6 Script Not Giving Correct Output On Executing The Script Using Cmd Prompt On Windows 10
This script runs perfectly when I executed it on spyder but same script isn't giving correct output when I execute the script through command prompt on my Windows 10 machine. I hav
Solution 1:
The cmd shell doesn't understand Python's Unicode escape sequences, so you are receiving literal ASCII characters for the escape codes.
If you want to support translating them, you could change you main
call to:
main(args.data.encode(sys.stdin.encoding).decode('unicode-escape'))
And then your output will be:
i'm deciding between Firestik Firefly, 4' 200w, & Firestik FS-3BK, 3' 650w. Is one better? It'sforrecreationaluse on
and off road. thank you!
Post a Comment for "Simple Text Cleaning Python 3.6 Script Not Giving Correct Output On Executing The Script Using Cmd Prompt On Windows 10"