[IPython-User] Fwd: Stdout not immediately appearing using %run in IPython 0.10.1
Fernando Perez
Fernando.Perez@berkeley....
Mon Oct 18 15:47:33 CDT 2010
Strangely lost message from Wes to the user list, no idea what's going
on. I'll reply separately, this is just so his original message goes
through unmodified.
Cheers
f
---------- Forwarded message ----------
From: Wes McKinney <wesmckinn@gmail.com>
Date: Sun, Oct 17, 2010 at 09:31
Subject: Fwd: Stdout not immediately appearing using %run in IPython 0.10.1
To: Fernando Perez <Fernando.Perez@berkeley.edu>
Hey Fernando-- just curious, did you receive this message from the
mailing list? For some reason I think the scipy.org server
periodically rejects messages I send (like I don't see this one on the
gmane web mirror, strange).
---------- Forwarded message ----------
From: Wes McKinney <wesmckinn@gmail.com>
Date: Sun, Oct 17, 2010 at 12:50 AM
Subject: Stdout not immediately appearing using %run in IPython 0.10.1
To: ipython-user@scipy.org
I've been having this problem both in IPython 0.10 and 0.10.1 using
EPD 6.2 on AMD64, Ubuntu 10.04.
Here's an example script:
import time
def f():
print 'a'
time.sleep(1)
print 'b'
time.sleep(1)
print 'c'
time.sleep(1)
print 'd'
time.sleep(1)
print 'e'
if __name__ == '__main__':
f()
In [1]: run foo2.py <-- OUTPUT APPEARS IMMEDIATELY
a
b
c
d
e
In [2]: import numpy
In [3]: numpy.array? <-- press q right afterward
In [4]: run foo2.py <-- NOTHING APPEARS UNTIL %run has completed
a
b
c
d
e
I've only noticed this problem on Linux, any clues?
Thanks,
Wes
More information about the IPython-User
mailing list