[IPython-dev] Setting up ipython environment when notebook starts up

Andrey Fedorov anfedorov at gmail.com
Sun Jul 28 20:05:49 EDT 2013


Looks like throwing together a startup script in

  ~/.ipython/profile_default/startup/

did the trick. Sorry for the bother!


On Sun, Jul 28, 2013 at 3:52 PM, Andrey Fedorov <anfedorov at gmail.com> wrote:

> I'd like to run an ipython notebook server with a custom env setup script
> which runs when a kernel starts up that allows it to access the Google App
> Engine data store (mimicking the remote_api_shell.py<https://googleappengine.googlecode.com/svn/trunk/python/google/appengine/tools/remote_api_shell.py>tool). It needs to set some authentication variables and and
> modify the namespace it runs in.
>
> Is there functionality to customize a notebook installation this way? If
> not, could someone point me to where in the code the ipython kernel is
> created when a new notebook is made?
>
> Cheers,
> Andrey
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130728/7ae6d123/attachment.html>


More information about the IPython-dev mailing list