Example #1
0
 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)
Example #2
0
	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)
Example #3
0
import robin, stl
import os.path
robin.loadLibrary(__name__, os.path.join(robin.here(__file__), 
                                         "libmemprof.so"))
Example #4
0
import robin, stl
import os.path
robin.loadLibrary(__name__, os.path.join(robin.here(__file__),
                                         "liblanguage.so"))
Example #5
0
import robin, stl
import os.path
robin.loadLibrary(__name__,
                  os.path.join(robin.here(__file__), "libinheritance.so"))
Example #6
0
import robin, stl
import os.path
robin.loadLibrary(__name__,
                  os.path.join(robin.here(__file__), "libtemplates.so"))