def loadNoMagic(): ''' Load the magic functions when running iPython ''' if common.runningUnderIPython(): from IPython.core.interactiveshell import InteractiveShell if InteractiveShell.initialized(): localIP = InteractiveShell.instance() load_ipython_extension(localIP)
def loadNoMagic(): ''' Load the magic functions when running iPython ''' if common.runningUnderIPython(): from IPython.core.interactiveshell import InteractiveShell if InteractiveShell.initialized(): localIP = InteractiveShell.instance() load_ipython_extension(localIP)
def loadNoMagic(): ''' Load the magic functions of load_ipython_extension when running IPython ''' if common.runningUnderIPython(): # noinspection PyPackageRequirements from IPython.core.interactiveshell import InteractiveShell # type: ignore if InteractiveShell.initialized(): localIP = InteractiveShell.instance() load_ipython_extension(localIP)