include files?

John J. Lee jjl at pobox.com
Thu Jun 19 21:16:59 EDT 2003


"rgndrp" <erased*remove_this*@xs4all.nl> writes:

> hi all,
> 
> I use python for making cgi scripts on a iis/w2k
> box and i wanted to know if it is it possible to include files in
> python?
> like: <!--#include file="file.inc"-->
> or something :)

No, that's physically impossible in Python.  The laws of nature
dictate that using a generic macro processor like m4 on Python code is
forbidden.  Sorry.

More seriously:

http://www.google.com/search?q=SSI+IIS

But maybe that's not what you mean, who knows...


John




More information about the Python-list mailing list