If you put these lines in ~/.ipython/profile_default/startup/mymagics.ipy, they will execute every time you start IPython (including jupyter console).
-Min On Sun, Feb 26, 2017 at 3:03 AM, Wen Ling <[email protected]> wrote: > Hi, > every time I run jupyter console, I always need to *%load_ext > autoreload* and *%autoreload 2*, *%matplotlib osx. *Is there a way I can > load them at very beginning of console session automatically? either by > configuration file or by shell command. > Thanks > > wen > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/jupyter/a1962505-2440-4fed-af35-98af2aea7fd0%40googlegroups.com > <https://groups.google.com/d/msgid/jupyter/a1962505-2440-4fed-af35-98af2aea7fd0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAHNn8BWTqBfzOXtkv0SQpwaCG0i_CYFxWNWbpprFXFbUtbspmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
