def loadFromFile(module): docat = Documentation.gopher[module] if Documentation.loaded.has_key(docat): # already loaded Documentation.gopher[module] = Documentation.loaded[docat] else: import cPickle, os.path moduledir = robin.here(module.__file__) docdb = _find_datafile(Documentation.gopher[module], [moduledir]) Documentation.gopher[module] = Documentation.loaded[docat] \ = cPickle.load(docdb)
import robin, stl import os.path robin.loadLibrary(__name__, os.path.join(robin.here(__file__), "libmemprof.so"))
import robin, stl import os.path robin.loadLibrary(__name__, os.path.join(robin.here(__file__), "liblanguage.so"))
import robin, stl import os.path robin.loadLibrary(__name__, os.path.join(robin.here(__file__), "libinheritance.so"))
import robin, stl import os.path robin.loadLibrary(__name__, os.path.join(robin.here(__file__), "libtemplates.so"))