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. :)
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