python script question

Ken ken at
Mon Oct 21 17:31:04 CEST 2002

Hi all, just like to ask if python CGI script can be mix with python Shell

I.e. if:
file1 is CGI (#!/usr/local/bin/python)
and file2 is shell script (#!/bin/sh)

can I have "import file2" inside file1 and use the functions inside file2?

Also, does the shell script have *.py extension?


More information about the Python-list mailing list