It is currently not (really) possible.
> I tried
> {{
> raw_input("input an item: ")
>
> input an item: print "\x01r\x01e16"
> 'print "\\x01r\\x01e16"'
> }}
>
> I do not understand the output.
> Can one use the raw_input command in a Sage Notebook?
No.
> Is it possible to prompt a user for input in a Sage Notebook?
Not yet.
We are working on implementing functionality somewhat like
"Mathematica Demonstrations"
for the Sage notebook. This will make it possible to prompt for input
-- more precisely
one will get an input box that can be filled in. Stay tuned!
William
>
> Thanks 4any suggestions
> peace
>
> >
>
--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org