Syntax error

Abdul Abdul abdul.sw84 at
Sat Jan 10 22:36:21 CET 2015


I have the following program that employs the dcm2jpg.exe software:

import os
os.system(“dcm2jpg.exe IM-0004-0004.dcm”)

When I tried to run it, I got the following error:

SyntaxError: Non-ASCII character '\xe2' in file on line 2, but
no en
coding declared; see for details

Why is that? How can this error be solved?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list