Commit 84a37e5e authored by Jim Fulton's avatar Jim Fulton

Fixed way that Python is invoked in command-line mode.

parent f223ffe1
#!/usr/local/bin/python
# $What$
#!/bin/sh
""":"
exec python $0 ${1+"$@"}
"""
__doc__='''CGI Response Output formatter
$Id: Response.py,v 1.30 1998/04/07 17:38:19 jim Exp $'''
$Id: Response.py,v 1.31 1998/04/09 15:21:07 jim Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
......@@ -53,7 +55,7 @@ $Id: Response.py,v 1.30 1998/04/07 17:38:19 jim Exp $'''
# Digital Creations, info@Digicool.com
# (540) 371-6909
#
__version__='$Revision: 1.30 $'[11:-2]
__version__='$Revision: 1.31 $'[11:-2]
import string, types, sys, regex
from string import find, rfind, lower, upper, strip, split, join, translate
......
#!/usr/local/bin/python1.4
# $What$
#!/bin/sh
""":"
exec python $0 ${1+"$@"}
"""
__doc__='''Command-line Bobo
......@@ -74,7 +76,7 @@ Examples
s
$Id: Test.py,v 1.12 1997/09/02 21:15:34 jim Exp $
$Id: Test.py,v 1.13 1998/04/09 15:20:10 jim Exp $
'''
# Copyright
#
......@@ -128,10 +130,7 @@ $Id: Test.py,v 1.12 1997/09/02 21:15:34 jim Exp $
#
#
#
__version__='$Revision: 1.12 $'[11:-2]
#! /usr/local/bin/python
__version__='$Revision: 1.13 $'[11:-2]
import sys,traceback, profile
repeat_count=100
......@@ -338,6 +337,9 @@ if __name__ == "__main__": main()
#
# $Log: Test.py,v $
# Revision 1.13 1998/04/09 15:20:10 jim
# Fixed way that Python is invoked in command-line mode.
#
# Revision 1.12 1997/09/02 21:15:34 jim
# Added 'Main' as default module.
# Took out break in non-existent xxx_find_object.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment