[IPython-User] raw_input replacement in ipython Notebook

Brian Blais bblais@gmail....
Wed Aug 8 20:09:40 CDT 2012

this seems to work, and may suit my needs for now...

import tkSimpleDialog
val=tkSimpleDialog.askstring('Input', "hello there")


On Aug 8, 2012, at 16:12 PM, Fernando Perez wrote:

> On Wed, Aug 8, 2012 at 12:39 PM, Brian Granger <ellisonbg@gmail.com> wrote:
>> I think we could use the Javascript display object to do a simple
>> dialog that allows a user to enter text that is sent to the kernel.
>> Shoudn't be too difficult.  Wouldn't be a full raw_input replacement,
>> but we be a start.
> +1
> An 'nbinput' function with the same api as raw_input would be great to
> offer.  And I agree, that would be the start of a future full
> raw_input support code.
> f
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user

Brian Blais

More information about the IPython-User mailing list