I think the simplest way to do this would be to write an IPython startup script: http://ipython.readthedocs.io/en/stable/interactive/tutorial.html#startup-files
IPython is the kernel Jupyter uses to run Python code. Make the script check for an environment variable, and if it is set, run the file it points to. Then configure Atom to run a command like: MY_FILE_TO_RUN=foo.py jupyter qtconsole -- 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/CAOvn4qh17D%3DR9Nb5sA16%2BYa4UXjK6w_MTpkOiD1iAFGdHL1erw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
