Did you try
   raw_input("hit enter")
?

On 8/21/07, Wolfgang Kerzendorf <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am currently writing a data reduction program. I want to use pylab in
> a script and use interactive input of pylab. The problem is that in
> ipython -pylab the script just keeps going without waiting for input (I
> have just tested it by plotting something but did not do
> cid=connect....). In ipython I also have the trouble that the first time
> I call show the shell waits until the window is closed.
>
> Well to simplify my question: How do I decide if pylab just shows the
> plot or if it waits for input in a script?
>
> thanks
>     Wolfgang
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to