[PyQt] unicode and pyqt4

Yao Ko koyao at raptr.com
Wed Nov 24 09:04:06 GMT 2010


On Wed, Nov 24, 2010 at 12:58 AM, Janwillem van Dijk
<jwevandijk at xs4all.nl> wrote:
> I have a small application that displays a tree structure using ete2
> (http://ete.cgenomics.org/). The node names are unicode and contain in
> particular German and French special chars. When I run the script from Eric4
> or directly from a terminal with  "python scriptname.py" all is OK. However
> I want to run it as a subprocess and than the special chars generate errors:
>
> import subprocess
> arg =['python', script_path_name]
> p = subprocess.Popen(arg)

What's the error output?

Yao


More information about the PyQt mailing list