A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-November/049989.html below:

[Python-Dev] Re: __pycode__ extension

[Python-Dev] Re: __pycode__ extension [Python-Dev] Re: __pycode__ extensionPhillip 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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4