1: The literate programming tool Interscript 2: version '1.0a9' 3: has been unpacked here. 4: It consists of two text files, and a directory: 5: 6: interscript.README (this file) 7: interscript.pth (the Python package control file) 8: interscript/ (the interscript package directory) 9: 10: Find the basic HTML documentation at 11: 12: interscript/doc/iscrp.html 13: 14: Find the enhanced HTML documentation at 15: 16: interscript/doc/iscr_top.html 17: 18: Find the text documentation at 19: 20: interscript/doc/iscr.txt 21: 22: Find the latex2e documentation at 23: 24: interscript/doc/iscr.tex 25: 26: Find the interscript home page at 27: 28: http://www.triode.net.au/~skaller/interscript 29:
1: interscript
1: #line 173 "iscr.pak" 2: # interscript package 3: import string 4: def hexval(i): 5: i = string.upper(i) 6: if i[:2]=='0X': i = i[2:] 7: a = 0 8: for d in i: 9: a = a * 16 + ord(d) - {0:ord('0'), 1:ord('A')-10}[d>'9'] 10: return a 11: 12: __builtins__['hexval']=hexval 13: 14: import os 15: directory = os.path.split(__file__)[0]+os.sep 16: def bind_resource_name(*components): 17: return directory + apply(os.path.join,components) 18:
6.1.1. Construct Global Frame
6.1.2. Set version
6.1.3. Listing of iscr.pak source