Re: matplotlib in interactive mode locks when run from subprocess

2008-09-25 Thread Almar Klein
To who cares, I found out what my problem was. Testing interactivity with Tk in a normal Python console gave proper results, just like IPython. Also running "python -i" gives the interactive behaviour I wanted. But running "python -i" from a subprocess did not. I was startled, because it worked ou

Re: matplotlib in interactive mode locks when run from subprocess

2008-09-20 Thread Almar Klein
I think my question was not very clear. I narrowed the problem down to a reconstructable small example, consisting of a python script (a very simple interpreter) and three lines to execute in it: == start simple interpreter file == import os import sys import time def run(): while