Am 20.12.2011 23:56, schrieb Peter Milliken:
I am completely new to ipython so any help would be appreciated.

I downloaded the latest ipython (0.12 - Windows binary) and put the
following in my .emacs (after a bit of trial and error and googling):

(require 'ansi-color)
(require 'python)         ;; I have the very tip from python-mode project
team
(setq auto-mode-alist (append (list (cons "\\.py" 'python-mode))
                               auto-mode-alist))
(setq ipython-command "c:/Python27/Scripts/ipython")
(require 'ipython)


My problem is that when ipython loads within Emacs I do not get any
prompts, however, if I type something "2 + 3" I get "Out[1]: 5"

I tried googling this issue but only found a reference to (an old version)
pyreadline - afaik I have the latest pyreadline installed and the thread
didn't seem to really answer the original post problem anyway.

Any ideas?


I tried adding

(setq-default py-python-command-args '("--colors" "LightBG"))

( don't use matlab, so left out the pylab stuff) but this didn't make a
difference.

Thanks for the help
Peter


IPython should be accessible out of the box from python-mode.el

If not, it's a bug.
Please make a report,

thanks,

Andreas

_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to