+1 good figuring out!
On 10 April 2018 at 20:22, <he...@amirathi.com> wrote:
> Nevermind, I figured it out. If anyone wants to run this in future.
> I created shell.py 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
> python shell.py
> & 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, he...@amirathi.com
>> 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 jupyter_notebook_config.py.
>> I briefly looked at setup.py & setupbase.py but didn't get any clue as to
>> how to initialize the app inside the shell. Let me know if you have any
> 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 jupyter+unsubscr...@googlegroups.com.
> To post to this group, send email to firstname.lastname@example.org.
> To view this discussion on the web visit https://groups.google.com/d/
> For more options, visit https://groups.google.com/d/optout.
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 email@example.com.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.