emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Puneeth Chaganti <punchagan@gmail.com>
To: "Doyley, Marvin M." <mdoyley@ur.rochester.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: strange behavior with org-babel python
Date: Tue, 12 May 2015 08:50:09 +0530	[thread overview]
Message-ID: <CALnw1fSQq3Cz21dwQN2qivH-z4RHEYXbLyQqTVpVDQHj+my5cQ@mail.gmail.com> (raw)
In-Reply-To: <801AAE40-718A-46D4-A16D-5A0BEDB510ED@ur.rochester.edu>

On Tue, May 12, 2015 at 6:37 AM, Doyley, Marvin M.
<mdoyley@ur.rochester.edu> wrote:
> Hi there,
>
> If run the follow codes I get the following, could someone explain to me what is going wrong
[snip]
> PS in .emacs, I have (setq org-babel-python-command "ipython --no-banner --classic --no-confirm-exit")

To reliably paste code blocks into IPython, you will have to use
%cpaste magic command.  See any of these links[1][2][3] for code you
can reuse.

[1] - https://github.com/punchagan/dot-emacs/blob/master/punchagan.org#python-customizations
[2] - https://lists.gnu.org/archive/html/emacs-orgmode/2014-03/msg00405.html
[3] - http://emacs.stackexchange.com/questions/3859/working-setup-for-ipython-in-babel

Hope that helps,
Puneeth

  reply	other threads:[~2015-05-12  3:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-12  1:07 strange behavior with org-babel python Doyley, Marvin M.
2015-05-12  3:20 ` Puneeth Chaganti [this message]
2015-05-12  9:10   ` Doyley, Marvin M.
2015-05-13 17:49     ` Puneeth Chaganti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALnw1fSQq3Cz21dwQN2qivH-z4RHEYXbLyQqTVpVDQHj+my5cQ@mail.gmail.com \
    --to=punchagan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mdoyley@ur.rochester.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).