[PyQt] unicode and pyqt4

Janwillem van Dijk jwevandijk at xs4all.nl
Wed Nov 24 08:58:51 GMT 2010


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)

Why and how to get it right.
Thanks,
Janwillem



More information about the PyQt mailing list