"persistent" plot windows

James Stroud jstroud at mbi.ucla.edu
Sun Mar 25 01:50:46 CET 2007


Rodrigo Lopez-Negrete wrote:
> Hi all,
> 
> I'm trying to write a python script using plotting form pylab.
> Unfortunatelly I've encountered a problem. When I run the script via
> 'python myscript.py' the plot windows open and close very quickly, or
> when I added the show() command the shell window was locked until I
> closed the figures.
> 
> My question is: is there a way to open those windows in the background
> without blocking the shell and without running it interactively??
> something like gnuplot -persist?
> 
> Thanks all,
>   Rodrigo Lopez-Negrete
> 

python whatever.py &


(Don't forget the ampersand!)

James



More information about the Python-list mailing list