From b41ab6588cdda66bc8b3c38c9080761458c2e872 2008-04-02 18:04:34 From: Ville M. Vainio Date: 2008-04-02 18:04:34 Subject: [PATCH] add helpful (commented out) imports to template ipy_user_conf.py. --- diff --git a/IPython/UserConfig/ipy_user_conf.py b/IPython/UserConfig/ipy_user_conf.py index 33d158b..e1c00fe 100644 --- a/IPython/UserConfig/ipy_user_conf.py +++ b/IPython/UserConfig/ipy_user_conf.py @@ -72,6 +72,20 @@ def main(): #o.autoexec.append('%colors NoColor') #o.autoexec.append('%colors Linux') + # for sane integer division that converts to float (1/2 == 0.5) + #o.autoexec.append('from __future__ import division') + + # For %tasks and %kill + #import jobctrl + + # For autoreloading of modules (%autoreload, %aimport) + #import ipy_autoreload + + # For winpdb support (%wdb) + #import ipy_winpdb + + # For bzr completer, requires bzrlib (the python installation of bzr) + #import ipy_bzr # some config helper functions you can use def import_all(modules):