I wonder how Jupyter Notebook works with builtins? Suppose, I want to 
replace an internal function, for example input. But this only works within 
the cell. Although directly in IPython everything is okey (not without 
problems, but in general outside the cell the trick works). What's wrong 
with Jupyter?

The code for the experiment:

import builtins 

builtins.input = lambda prompt, *, _input=input: print('Hello world!') or 
_input(prompt)

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/5f2f0997-0687-4643-92b9-16d4111ba6f4n%40googlegroups.com.

Reply via email to