asp & python - how do you use include

Max M maxm at mxm.dk
Fri Aug 2 15:50:49 EDT 2002


www.ciquery.com wrote:
> I am trying to run an asp script using Python as the scripting language
> As part of the program , I need to "include" another file, as it is an .asp
> page
> it needs to be included on the server side.
> What is the Python  equivalent to "include" ?


There is the server side directive called include that can include 
another .asp page. This should work the same as usual as it is 
independant from language.

If you want to import a .py file, you should use 'import' as described 
in Pythons standard documentation.

regards Max M




More information about the Python-list mailing list