Dick Moores | 16 Jul 12:27

import question

Win XP Pro, Python 2.5.1, IPython 0.84

Here are the possibly relevant sections of my ipythonrc.ini so far:
<http://py77.python.pastebin.com/d13a168ea>.

With my ipythonrc.ini I want to cause this to happen:

import mpmath as p

How do I do it?

Thanks,

Dick Moores
Ville M. Vainio | 16 Jul 21:06

Re: import question

On Wed, Jul 16, 2008 at 1:29 PM, Dick Moores <rdmoores <at> gmail.com> wrote:

> With my ipythonrc.ini I want to cause this to happen:
>
> import mpmath as p
>
>
> How do I do it?

Basic answer to most of the questions like this is: use
ipy_user_conf.py, not ipythonrc.ini. You could do:

ip.ex("import mpmath as p")

--

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'

Gmane