On Sat, Jan 10, 2015 at 4:36 PM, Abdul Abdul <abdul.s...@gmail.com> wrote: > > Hello, > > I have the following program that employs the dcm2jpg.exe software: > > import os > os.system(“dcm2jpg.exe IM-0004-0004.dcm”) > exit > It may be that your actual code has ascii quote characters, but you have sent your question as rtf. Please copy your code and paste it in message using text only mail. If you are using curly quotes, its not ascii
> > When I tried to run it, I got the following error: > > SyntaxError: Non-ASCII character '\xe2' in file dicomjpg.py on line 2, but no > en > coding declared; see http://python.org/dev/peps/pep-0263/ for details > > Why is that? How can this error be solved? > > Thanks. > > > -- > https://mail.python.org/mailman/listinfo/python-list > -- Joel Goldstick http://joelgoldstick.com -- https://mail.python.org/mailman/listinfo/python-list