From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: python babel not running startup file Date: Fri, 25 Apr 2014 09:28:42 -0600 Message-ID: <8761lx2zsj.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wdi4V-0000gp-4q for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 11:29:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wdi4P-00069k-F4 for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 11:29:51 -0400 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:43212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wdi4P-00069f-8l for emacs-orgmode@gnu.org; Fri, 25 Apr 2014 11:29:45 -0400 Received: by mail-pa0-f44.google.com with SMTP id ey11so1440027pad.17 for ; Fri, 25 Apr 2014 08:29:44 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Ken Mankoff Cc: emacs-orgmode Yes, customize the org-babel-python-command variable. Best, Ken Mankoff writes: > I have the PYTHONSTARTUP environment variable set to "~/.pythonrc". That > file is not run by Org babel. Can anyone recommend how to execute that > file, or some other method for customizing all Org babel python > executions. > > Specifically, I load a custom colorbar in my ~/.pythonrc and > ~/.ipythonrc files, and would like Org python to behave the same. > > -k. > -- Eric Schulte https://cs.unm.edu/~eschulte PGP: 0x614CA05D