March 2003
Intermediate to advanced
656 pages
39h 30m
English
getsource, getsourcelines
getsource(obj)Returns a single multiline string that is the source code for
obj, and raises IOError
if unable to determine or fetch it. getsourcelines
returns a pair: the first item is the source code for
obj (a list of lines), and the second item
is the line number of the list’s first line in the
source file it comes from.
Read now
Unlock full access