On Mon, Feb 9, 2015 at 11:33 AM, Thyagarajulu G
<[email protected]> wrote:
> I want to take input while executing a cell in the sage worksheet similar to
> that of python's inbuilt function as below
> no_bins = int(input("Please enter number of bins: "))
>
> Is it possible?

This not implemented in the Sage notebook, sage cell server, or in
SageMathCloud at present.
It is implemented in IPython notebook.

An alternative approach is to use @interact.

William

>
> When I am executing above line, it runs in infinite loop.
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



-- 
William Stein (http://wstein.org)
CEO, SageMath, Inc. (https://sagemath.com)
Professor of Mathematics, University of Washington

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to