6.1. Interscript Module

The top level interscript module.
Start data section to interscript.README[1 /1 ]
     1: The literate programming tool Interscript
     2:  version '1.0a11'
     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 HTML web documentation at
    11: 
    12:   interscript/doc/en_iscr_top.html
    13: 
    14: Find the text documentation at
    15: 
    16:   interscript/doc/en_iscr.txt
    17: 
    18: Find the latex2e documentation at
    19: 
    20:   interscript/doc/en_iscr.tex
    21: 
    22: Find the interscript home page at
    23: 
    24:   http://interscript.sourceforge.net
    25: 
End data section to interscript.README[1]
Start data section to interscript.pth[1 /1 ]
     1: interscript
End data section to interscript.pth[1]
Start python section to interscript/__init__.py[1 /3 ] Next Last
     1: #line 203 "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: 
End python section to interscript/__init__.py[1]


6.1.1. Construct Global Frame
6.1.2. Set version
6.1.3. Listing of iscr.pak source