Does this work whether you are in an IPython notebook or a normal session?