Python Run Py File - Works Ok In Idle, Not Via Command Prompt Windows 7 - Unicodeencodeerror
I installed 3.5.1 Python several months ago on Windows 7. I have a python program which is in .py file. It runs fine from IDLE Python. However, when I run it from command prompt,
Solution 1:
Try using encode
print(data.encode('utf-8'))
Post a Comment for "Python Run Py File - Works Ok In Idle, Not Via Command Prompt Windows 7 - Unicodeencodeerror"