write your own vtable<p><pre><code>    goto = {2:fn2, 3:fn3}
    if six.PY in goto :
        goto[six.PY]()
    else :
        sys.stderr.write(&quot;ack, no python to run!\n&quot;)
        sys.exit()</code></pre>