On Tue, Jul 1, 2008 at 1:34 PM, Nicolas Rougier <[EMAIL PROTECTED]> wrote: > > I'm not yet on the ipython-dev but I read the archive to check progress > on ipython1 and I get a bit lost with the redesign. The backend/frontend > will definitely help to embed ipython. Where can I get the latest > version (with wx for example) so I can try to code the GTK one ?
All development for ipython now happens on launchpad, so you can just bzr branch lp:iptyhon as indicated here: http://ipython.scipy.org/moin/Developer_Zone The various GUI frontends are just being built, so there isn't a single component to download yet. But feel free to jump on the list with questions (and show your code!) I'm sure there will be plenty of interest. > > Concerning the colors options, I'm not sure where to put it, in the argv > argument ? You can do that, but here's a cleaner solution that uses the actual ipython api: tlon[pycons]> diff -u ishell.py.ori ishell.py --- ishell.py.ori 2008-07-01 15:25:01.000000000 -0700 +++ ishell.py 2008-07-01 15:33:46.000000000 -0700 @@ -19,6 +19,7 @@ from StringIO import StringIO try: import IPython + from IPython import ipapi except Exception,e: raise "Error importing IPython (%s)" % str(e) @@ -52,6 +53,11 @@ self.IP.system = lambda cmd: self.shell(self.IP.var_expand(cmd), header='IPython system call: ', verbose=self.IP.rc.system_verbose) + + # Get a hold of the public IPython API object and use it + self.ip = ipapi.get() + self.ip.magic('colors LightBG') + sys.excepthook = excepthook self.iter_more = 0 self.complete_sep = re.compile('[\s\{\}\[\]\(\)]') ##### END PATCH Cheers, f ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel