Nevermind, I figured it out. If anyone wants to run this in future.

I created with following:

#!/usr/bin/env python

import os

import readline

from pprint import pprint

from notebook import *

from notebook.notebookapp import NotebookApp

os.environ['PYTHONINSPECT'] = 'True'

Then ran 

& on the terminal

>>> app = NotebookApp()
>>> app.initialize()

 This should get you up & running.

On Tuesday, April 10, 2018 at 9:41:30 PM UTC+5:30, wrote:
> Hey, 
> I am new to Jupyter development. I was wondering if there is a way to run 
> a shell (similar to Django) that has Jupyter application initialised. 
> So far I have tried this 
> <>.
> That gives me access to all classes but I don't think it initializes the 
> app with proper config. Specifically, when I try to access any config value 
> in that shell, I get only the default values set inside the classes 
> themselves. I am expecting it to pick configuration values stored in 
> jupyter_notebook_config.json or 
> I briefly looked at & but didn't get any clue as to 
> how to initialize the app inside the shell. Let me know if you have any 
> pointers.
> Thanks,
> Amit

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 post to this group, send email to
To view this discussion on the web visit
For more options, visit

Reply via email to