[Python-Dev] Re: __pycode__ extension
Phillip J. Eby
pje at telecommunity.com
Wed Nov 17 21:34:08 CET 2004
At 12:56 PM 11/17/04 -0700, Fernando Perez wrote:
>Phillip J. Eby wrote:
>
> > If the idea is just to allow saving code from interactive mode, why not
> > just modify the interactive mode to do this?
>
>IPython already has most of this:
>
>In [3]: os.path.walk??
>Type: function
>Base Class: <type 'function'>
>String Form: <function walk at 0x550529cc>
>Namespace: Interactive
>File:
>/usr/src/build/394694-i386/install/usr/lib/python2.3/posixpath.py
If I understand correctly, this is unrelated. The OP was about retaining
source of functions defined in interactive mode, not the source of
functions from files. 'os.path.walk' was obviously not typed in using
interactive mode. :)
More information about the Python-Dev
mailing list