Can't use ipython/bpython 3.2 with python mode

Asked by pashazz

Hello.

I want to use b/i python for running my module.

But I get that error when i am trying to use ipython-3.2:

NameError Traceback (most recent call last)
/home/pasha/projects/diveintopython/<ipython-input-7-8233dbd9304a> in <module>()
----> 1 execfile(r'/usr/tmp/usr-bin-ipython-3.2-26181Fxp.py') # PYTHON-MODE

NameError: name 'execfile' is not defined

python3 works well... bpython3 exits abnormally.
Excuse me for my english.

Question information

Language:
English Edit question
Status:
Answered
For:
python-mode.el Edit question
Assignee:
Andreas Roehler Edit question
Last query:
Last reply:
Revision history for this message
Andreas Roehler (a-roehler) said :
#1

Am 04.06.2012 02:15, schrieb pashazz:
> New question #199283 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/199283
>
> Hello.
>
> I want to use b/i python for running my module.
>
> But I get that error when i am trying to use ipython-3.2:
>
>
> NameError Traceback (most recent call last)
> /home/pasha/projects/diveintopython/<ipython-input-7-8233dbd9304a> in<module>()
> ----> 1 execfile(r'/usr/tmp/usr-bin-ipython-3.2-26181Fxp.py') # PYTHON-MODE
>
> NameError: name 'execfile' is not defined
>
> python3 works well... bpython3 exits abnormally.
> Excuse me for my english.
>

Hi,

looks like a bug. May you file a bug-report still?

Thanks,

Andreas

Can you help with this problem?

Provide an answer of your own, or ask pashazz for more information if necessary.

To post a message you must log in.