On 3/21/11 1:54 AM, Eviatar wrote:
Hello,

I noticed user input (raw_input(), input()) does not currently work in
the notebook. There is a ticket about this, 
http://trac.sagemath.org/sage_trac/ticket/314,
but it looks like it was misunderstood and closed.

While it may seem of limited use in a mathematical software, there are
in fact uses for it; I for example was planning to use user input as a
fitness function for a genetic algorithm.


Typically in the notebook, I would make one cell where the user can define input values, maybe something like:

x=3 # change if you want
tolerance=.01 # change if you want

The user can then just change the values and execute the cells in order to get an updated answer.

Jason

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to