6.15. Get Options

This module gets interscript options from the command line.

The verbosity option provides coarse generic control over the amount of information Interscript writes. The default is 2, which only prints 'error' messages. Level 1 is useful when you're fairly sure there are no errors, for example, you have a trustworthy readonly document, but have deleted the output files during a cleanup. Level 0 is very dangerous, since even trustworthy documents can unexpectedly cause errors: perhaps you installed a new version of Python, or perhaps you forgot that by default downloaded files are reloaded from the network automatically once a month?

This module is getting too fat. It also has side effects, making it impossible to use safely within an interscript source.

Start python section to interscript/getframes.py[1 /3 ] Next Last
     1: #line 20 "interscript_options.ipk"
     2: import sys
     3: import traceback
     4: import string
     5: import glob
     6: import os
     7: 
     8: from interscript.getoptions import getopt
     9: 
End python section to interscript/getframes.py[1]


6.15.1. Help Dictionary
6.15.2. Argument Frame