6.14.1. Stand alone unix/nt mainline

6.14.1. Stand alone unix/nt mainline

Command line stub.
Start python section to interscript/bin/iscr.py[1]
     1: #!/usr/bin/env python
     2: import sys
     3: args = sys.argv[1:]
     4: if len(args)>0 and args[0]=='--test':
     5:   print 'Interscript test mode, loading interscript from current directory'
     6:   if sys.path[0]!='':
     7:     sys.path = ['']+ sys.path
     8:   args = args[1:]
     9: import interscript
    10: interscript.run_from_options(args)
    11: 
End python section to interscript/bin/iscr.py[1]