Bill,
The problem is I am writing a bunch of diagonistic tools for users who do not know anything about unix.
they just want to type a bunch of commands on a shell and see the plots and they hardly know anything fancy like sending processes to the background
I guess, I am going to have to use threads or sub processes to spawn new plots.
Thanks,
ss
···
On 6/13/07, Bill Baxter < wbaxter@…287…> wrote:
On 6/13/07, signal seeker <seekersignal@…287…> wrote:
Bill,
Thanks for your reply. pylab(ion) is not what I meant. Consider this simply
script -
…simple.py
from pylab import *
plot([1,2,3])
show()
…Now, if I do python simple.py on a cmd prompt, this will open up a plot
window, but the script won’t return until the plot window is closed.
I would like simple.py process to end but the plot window to be still up. I
have users who would like to type one command after another and not have toclose any of the plot windows created.
I see. In that case, I think you just want
$ simple.py &
on unix and
c:> start python simple.py
on Windows.In both cases you can put those commands into a script so the user
just types ‘run_simple’.
–bb