[IPython-User] prompt and config file questions
Richard D. Moores
rdmoores@gmail....
Mon Sep 27 03:05:39 CDT 2010
64-bit Vista
Python 2.6
IPython 0.10
QUESTION 1
[C:Python26/Scripts]
|16>
[C:Python26/Scripts]
|17>2/3
1[17] 0.66666666666666663
[C:Python26/Scripts]
|18>
What is the 1 that begins 1[17] 0.66666666666666663 ?
QUESTION 2.
I'd like IPython to start with mpmath already imported. In
ipy_user_conf.py I tried putting the 3 lines
from mpmath import *
mp.dps=25
mp.pretty=True
inside main() , and then above def main() , but they are ignored.
What's the correct way to do this?
Of course, entering the line
from mpmath import *;mp.dps=50;mp.pretty=True
at the IPython prompt works.
QUESTION 3
Why do some lines go above the line "def main()" and some inside main()?
Thanks,
Dick Moores
More information about the IPython-User
mailing list