<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.python.ipython.user">
    <title>gmane.comp.python.ipython.user</title>
    <link>http://blog.gmane.org/gmane.comp.python.ipython.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4164"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4160"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4156"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4154"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4150"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4142"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4136"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4131"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4130"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4126"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4125"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4123"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4119"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4116"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4113"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4111"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4106"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4102"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4088"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.python.ipython.user/4086"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4164">
    <title>Qt gui now usable (sort of) :-)</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4164</link>
    <description>You can now actually use the qt ui. It's at  "technology demo" right
now, but basic stuff like tab completion now works. The colors suck
(typical ipython + white background issue), KeyboardInterrupt doesn't
work (apart from doing it in the console window) and it probably has
lots of other problems, but nothing that hasn't been solved in other
gui's already, so it probably won't take forever to polish it.

Input happens in separate scintilla widget, so it requires a bit of a
mindset switch, but nothing too drastic. The big win is simplicity of
multiline editing, and general "statelessness" (autoindent etc).

You can test it out by doing:

bzr branch lp:~villemvainio/ipython/ipython-qt-ui

and running qtipy.py.

Screenshot:

http://img84.imageshack.us/img84/5875/ipyqteo3.png

</description>
    <dc:creator>Ville M. Vainio</dc:creator>
    <dc:date>2008-11-30T19:28:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4160">
    <title>How to create a new file</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4160</link>
    <description>Hi,
is there any way for creating a new blank file from the iPython shell?

I'm on a linux machine and I'm wondering if is it possible to do
something like: vim newfile.py

Or at least using touch.

Thanks.
</description>
    <dc:creator>Mr.SpOOn</dc:creator>
    <dc:date>2008-11-30T15:22:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4156">
    <title>[0:execute]: IOError: [Errno 4] Interrupted systemcall</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4156</link>
    <description>Hi everyone,

I'm performing blocking file read commands on remote engines, one at a time, but regularly get the
error:

********************************************************************************************************

CompositeError                            Traceback (most recent call last)

&lt;ipython console&gt; in &lt;module&gt;()

/fe2.pyc in setup(self, append)
    365             diskpush({'a':self}, picklemode = 0)  # use mode 0 (others fail)
    366          else:
--&gt; 367             diskpush({'a':self})
    368
    369

/reference.pyc in diskpush(a, targets, block, isanobject, picklemode)
   3359       time.sleep(5.0); mprint('Done. ')
   3360       #mec.execute('tmpdata = dpfile.read()', targets = [i], block = True)
-&gt; 3361       mec.execute('dpvar = cPickle.load(dpfile)', targets = [i], block = True)
   3362       mec.execute('dpfile.close()', targets = [i], block = True)
   3363       #mec.barrier(a)

/usr/local/lib64/python2.5/site-packages/IPython/kernel/multiengineclient.pyc in execute(self, l</description>
    <dc:creator>mark starnes</dc:creator>
    <dc:date>2008-11-25T09:51:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4154">
    <title>pass command flags to script</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4154</link>
    <description>I would like to pass command args to a script and after the script
runs, drop into an ipython shell.  Something like

  &gt;  ipython 'agg_oo.py --verbose-helpful'

Which does not work.  Is such a thing possible?

If not, what is the proper incantation to add at the end of the script
to open an interactive ipython shell with the namespace of the script?
 I tried::

  from IPython.Shell import IPShellEmbed
  ipshell = IPShellEmbed()
  ipshell()

but it did not like the command args either :-(


Thanks,
JDH

IPython 0.9.0.bzr.r1016
</description>
    <dc:creator>John Hunter</dc:creator>
    <dc:date>2008-11-24T17:16:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4150">
    <title>[beginner] problem with _</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4150</link>
    <description>Hello list,

I am just beginning teaching myself IPython, and I am stumbling.
Following the steps in a book on Computer Programming (Langtangen), the 
author gives the following example:

In [1]: run ball_variables.py
1.2342

In [2]: _*10
Out[2]: 12.341999999999999


That is, he argues that with an underscore "_" the last result can be 
accessed.
However, I cannot reproduce this behaviour. I am running
Python 2.5.2 (r252:60911) with IPython 0.8.1.

Could someone please be so kind and let me know what the mistake is?

Cheers,

David
</description>
    <dc:creator>David</dc:creator>
    <dc:date>2008-11-22T16:02:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4142">
    <title>New ipcluster in ellisonbg's trunk-dev</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4142</link>
    <description>Hi,

After a month or so of hacking on and off, I have finished a new
version of the ipcluster script.  This version has lots of new stuff:

* Cross platform (Win32!)

* Much more robust design (using Twisted)

* Uses subcommands (ipcluster local, ipcluster pbs, etc.) for
different cluster types.

* Supports 3 cluster types currently (localhost, pbs, mpirun).

The following just work:

ipcluster local -n 4
ipcluster mpirun -n 16 --mpi-mpi4py
ipcluster pbs -n 128 --pbs-script=pbs.template

But, I am not sure how soon we want to merge this into trunk:

* There are _no_ tests - this type of thing is very difficult to test.
* No docs on this yet ( that is easy to fix).
* The design is gong to change in massive ways - we need to refactor
the config system in significant ways and that will change the API of
ipcluster.
* ipcluster itself needs some refactoring.  It turns out that I will
need to begin using Barry's notification center to really get the
design right.

But....

The ipcluster that we shipped with 0.9.1</description>
    <dc:creator>Brian Granger</dc:creator>
    <dc:date>2008-11-16T22:54:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4136">
    <title>How does ipython integrate with pydb?</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4136</link>
    <description>I have just installed the Enthought python distribution for Mac OS X. I have
received a 10.5.5 MacBook Pro and am trying to get SciPy up and running
again, with limited success.

After installing Enthought, I lost the pydb support. When I execute with the
-pydb option, I get an error message:

$ ipython -pydb
Pydb (http://bashdb.sourceforge.net/pydb/) does not seem to be available
IPython 0.9.1   [on Py 2.5.2]

That is the same version of ipython I had installed myself and the pydb
support just worked. I abandoned the install from source because I could not
install matplotlib successfully. However, I don't want to lose pydb. Any
chance there is a way I can add pydb to the Enthought distribution? I have
searched the internet and found no information on this topic. Thanks for
your help.

-Tony

--
Tony Mannucci
Supervisor, Ionospheric and Atmospheric Remote Sensing Group
 Mail-Stop 138-308,                     Tel &gt; (818) 354-1699
 Jet Propulsion Laboratory,              Fax &gt; (818) 393-5115
 California Instit</description>
    <dc:creator>Mannucci, Anthony J</dc:creator>
    <dc:date>2008-11-15T05:31:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4131">
    <title>'pause' in order to cycle though a bunch of plots</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4131</link>
    <description>_______________________________________________
IPython-user mailing list
IPython-user&lt; at &gt;scipy.org
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
</description>
    <dc:creator>Benjamin J. Racine</dc:creator>
    <dc:date>2008-11-14T19:12:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4130">
    <title>TaskClient doesn't work after importing a module inMultiEngineClient</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4130</link>
    <description>Hi All,

I've encountered a problem with the parallel capabilities in the new 
version of IPython 0.9.1.
It seems that if you import a package in the MultiEngineClient then 
afterwards running tasks
with the TaskClient fails.
This use case was working properly in the previous version of IPython1.

Attached is a reduced example that produces the error on my machine.
The output from the engines is:
008-11-11 09:12:48+0100 [-] Log opened.
2008-11-11 09:12:48+0100 [-] Using furl file: 
/home/mammoth/dejan/.ipython/security/ipcontroller-engine.furl
2008-11-11 09:12:48+0100 [Negotiation,client] engine registration 
succeeded, got id: 1
2008-11-11 09:12:50+0100 [-] 
/usr/lib64/python2.4/site-packages/twisted/internet/base.py:1047: 
exceptions.DeprecationWarning: Reactor already running! This behavior is 
deprecated since Twisted 8.0
Fatal Python error: PyEval_RestoreThread: NULL tstate

If I remove the line:
rc.execute('import test_cluster2 as M')

from the script, then everything works fine.

I'm using Python 2.4,</description>
    <dc:creator>Pecevski Dejan</dc:creator>
    <dc:date>2008-11-14T17:04:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4126">
    <title>cd doesn't work on Windows</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4126</link>
    <description>I have installed installed ipython in Windows XP Professional (Swedish).
When I do
cd &lt;something&gt;
it looks like the command worked when I do
pwd
but when I do
ls
the list output is ALWAYS from c:\, not the current directory.
Why?

python version: 2.5.2
installed in c:\Program\Panda3D-1.5.3\python

/Elias
</description>
    <dc:creator>Elias Bröms</dc:creator>
    <dc:date>2008-11-14T09:44:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4125">
    <title>difficulty with editing a multiline input</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4125</link>
    <description>I find it difficult to edit a multiline input

I define the following function in IPython:

In [2]: def gen(n):
   ...:     while n:
   ...:         n = n - 1
   ...:         yield n

the cursor (the text cursor) is still in the last line of In [2].
how can i move the cursor up? for instance when I want to change n - 1 to n - 2? What if I want to insert another line like the following?

In [2]: def gen(n):
   ...:     while n:
   ...:         print n
   ...:         n = n - 1
   ...:         yield n
</description>
    <dc:creator>Good Bad</dc:creator>
    <dc:date>2008-11-14T08:21:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4123">
    <title>how to search ipython mailing list</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4123</link>
    <description>how can I search the archive of this mailing list?
</description>
    <dc:creator>Good Bad</dc:creator>
    <dc:date>2008-11-14T07:49:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4119">
    <title>Download a specific version via bzr?</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4119</link>
    <description>I see that I can download specific versions of ipython here:

    http://ipython.scipy.org/dist/

Is there some way to grab a specific version of ipython via bzr?  Once a
specific version is downloaded, what would the equivalent of switching to a
different tag in Subversion be?

I'm used to doing this with Subversion and CVS but have no Bazaar-fu.

Thanks,

</description>
    <dc:creator>skip&lt; at &gt;pobox.com</dc:creator>
    <dc:date>2008-11-13T16:11:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4116">
    <title>programs with command line arguments</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4116</link>
    <description>_______________________________________________
IPython-user mailing list
IPython-user&lt; at &gt;scipy.org
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
</description>
    <dc:creator>kevin beckford</dc:creator>
    <dc:date>2008-11-13T12:40:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4113">
    <title>replacing sys.stdout breaks prompt on windows</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4113</link>
    <description>Python 2.5.2 on WinXP, IPython 0.9.1, latest pyreadline

I'm doing some work with the Mercurial api (written in python, similar to
bzr).  One of the main files that gets imported replaces sys.stdout with a
class that does a few basic checks but is otherwise a very thin wrapper
around sys.stdout.

Problem is, as soon as I import the file my prompt gets hosed (I can see the
raw ansi color codes, etc).  Here is a stripped down version of the problem:

In [1]:

import sys
class myout():
    def __init__(self, fp):
        self.fp = fp

    def __getattr__(self, key):
        return getattr(self.fp, key)

    def close(self):
        self.fp.close()

    def write(self, s):
        self.fp.write(s)

    def flush(self):
        self.fp.flush()

sys.stdout = myout(sys.stdout)
            
☺←[0;32m☻In [☺←[1;32m☻3☺←[0;32m☻]: ☺←[0m☻


I've looked through the IPython and pyreadline sources but I can't find
anything obvious that would explain this.  Does anyone have idea what the
problem is or a</description>
    <dc:creator>David Shilvock</dc:creator>
    <dc:date>2008-11-13T06:07:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4111">
    <title>Properties at ipython shell</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4111</link>
    <description>I am experiencing some unusual behavior *only* when I am directly
working in the ipython shell.  The problem involves the get method for
a property.

class MyClass():
    def __init__(self):
        self._x = 3
    def getx(self):
        print "getting x"
        return self._x
    def setx(x):
        print "setting x"
        self._x = x
    x = property(getx, setx)

a = MyClass()
a.x           # prints "getting x" twice
print a.x  # prints "getting x" once

If you stick all this in a file and do 'run test.py', the problem does
not occur.  Also, notice that it does not occur in the "print a.x"
statement.

Any thoughts as to why this is happening?


Python 2.5.2 (r252:60911, Oct  5 2008, 19:24:49)
IPython 0.9.0.bzr.r1016 -- An enhanced Interactive Python.
</description>
    <dc:creator>T J</dc:creator>
    <dc:date>2008-11-13T03:45:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4106">
    <title>TextMate Bundle</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4106</link>
    <description>Hi all,

I was pointed at your wiki[1] page on TextMate integration, and
decided it was such a great idea that I'd make it into a TextMate
bundle. My aim is to get it put into the official bundle repository.

To that end, I've set up a google group [2] for discussion, and made a
start (by copying and pasting, with some tweaks) at a bundle on GitHub
[3].

I currently maintain the Matlab/Octave bundle for TextMate, and I'm
gradually moving towards using python instead.
However, I'm a complete newbie to python and ipython/numpy/scipy so
I'd like to ask for any comments, suggestions or help that anyone
would like to give.

In my view, a bundle wrapping all sorts of useful functionality
(snippets/commands etc) for aiding scientific computing with python
would be best, but since it was IPython functionality that inspired me
to get started, I thought I'd ask you guys first.

If there are any TextMate users out there who would like to see this
functionality, or help out, then please join the google group.
Similarly,</description>
    <dc:creator>Matt Foster</dc:creator>
    <dc:date>2008-11-12T21:10:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4102">
    <title>Ipython and Jython 2.50b</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4102</link>
    <description>_______________________________________________
IPython-user mailing list
IPython-user&lt; at &gt;scipy.org
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
</description>
    <dc:creator>Phyo Arkar</dc:creator>
    <dc:date>2008-11-12T19:27:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4088">
    <title>readline and ipython on Ubuntu Hardy</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4088</link>
    <description>_______________________________________________
IPython-user mailing list
IPython-user&lt; at &gt;scipy.org
http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
</description>
    <dc:creator>Sylvain Guiriec</dc:creator>
    <dc:date>2008-11-09T20:16:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4086">
    <title>How to customize ipengine at its start?</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4086</link>
    <description>I think Min's suggestion about initializing the engines at their start
is great if it really works. Such initialization can be followed with
non-trivial MapTasks.

But my attempt to do so failed. The source code shows currently
ipengine ignore every arg passed to it. Is there an easy way (other
than via MultiEngineController) through it I can have engines
executing customized init scripts or init python statement? I see some
configuration can be down similarly to what "--mpi" option is doing,
but not as strict forward as running a init scritpt like what Min has
proposed: "ipengine -s init.py"

Any suggestions will be highly appreciated.


On Thu, Nov 6, 2008 at 10:43 PM, Min Ragan-Kelley &lt;benjaminrk&lt; at &gt;gmail.com&gt; wrote:
</description>
    <dc:creator>Yichun Wei</dc:creator>
    <dc:date>2008-11-09T10:47:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.python.ipython.user/4084">
    <title>Problem with %timeit and ascii codec</title>
    <link>http://comments.gmane.org/gmane.comp.python.ipython.user/4084</link>
    <description>Hi,

I'm running IPython 0.9.1 and am running into a unicode encoding problem 
I haven't seen in earlier versions:

In [1]: import numpy

In [2]: a = numpy.linspace(0, 1, 10)

In [3]: timeit a.sum()
---------------------------------------------------------------------------
UnicodeEncodeError                        Traceback (most recent call last)

/home/prabhu/usr/virtualenv/ets_trunk/lib/python2.5/site-packages/IPython/iplib.pyc 
in ipmagic(self, arg_s)
     951         else:
     952             magic_args = self.var_expand(magic_args,1)
--&gt; 953             return fn(magic_args)
     954
     955     def ipalias(self,arg_s):

/home/prabhu/usr/virtualenv/ets_trunk/lib/python2.5/site-packages/IPython/Magic.py 
in magic_timeit(self, parameter_s)
    1829 
precision,
    1830                                                           best 
* scaling[order],
-&gt; 1831 
(units[order]))
    1832         if tc &gt; tc_min:
    1833             print "Compiler time: %.2f s" % tc

UnicodeEncodeError: 'ascii' codec can't</description>
    <dc:creator>Prabhu Ramachandran</dc:creator>
    <dc:date>2008-11-09T06:57:13</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.python.ipython.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.ipython.user</link>
  </textinput>
</rdf:RDF>
