On Sep 14, 9:52 pm, Jack Norton wrote:
> Anyway, I have created a function using def, and well, I like the way it
> is working, however... I have already filled the command line history
> buffer (the com.exe buffer?) so _what_ I actually filled this def with
> is lost. Now, it isn't that compli
Under unix and cygwin, it's also possible to use GNU Screen, along
with a much larger then default defscrollback value.
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
I wonder whether there's a third party module which will take the output
of dis.dis and try to reverse engineer Python code from it?
There used to be decompyle, but it hasn't been kept up-to-date, at least not
publicly. There used to be a service that would use an updat
On Mon, 14 Sep 2009 14:52:34 -0500, Jack Norton wrote:
> it would be really nice to be
> able to _ask_ python what makes up a def. Something like this (remember
> I am using IPython interactive interpreter session):
> In [0]: def func(input):
> .:>>>print "im in this function!" + str(input
I'm not sure what the best way to do this is, other then that it would
mean asking the interp to explain it in a format we understand ;).
In the (c)python library reference, I see an inspect module that
sounds like it should be useful, but it doesn't work on my test case
here:
>>> def foo(x, y):
On Sep 14, 2:52 pm, Jack Norton wrote:
> Hello all,
>
> I am playing around in a python shell (IPython on win32 right now
> actually). I am writing some code on the fly to interface to a rotary
> encoder (not important in this scope).
>
> Anyway, I have created a function using def, and well, I l
On Sep 14, 2:52 pm, Jack Norton wrote:
> Hello all,
>
> I am playing around in a python shell (IPython on win32 right now
> actually). I am writing some code on the fly to interface to a rotary
> encoder (not important in this scope).
>
> Anyway, I have created a function using def, and well, I l
Hello all,
I am playing around in a python shell (IPython on win32 right now
actually). I am writing some code on the fly to interface to a rotary
encoder (not important in this scope).
Anyway, I have created a function using def, and well, I like the way it
is working, however... I have a