[Tutor] os.popen, xp
Coen van der Kamp
coen at reservoir.nl
Sun Nov 19 01:39:25 CET 2006
Hello,
I've got a problem with the following code:
import os, sys, string
mycolors = os.popen("coloryze --monochromatic --total=6 &").read().rstrip()
print mycolors
This works fine on OS X, but when i tried it on XP the only result was
an empty string. When I run coloryze from the promt the return is a nice
list of colors. So coloryze works. What am I missing here?
Coen.
More information about the Tutor
mailing list