How do you do an include statement in python? I know that in Cold Fusion it
would be "<cfinclude template="blue_header_noad.html">" and in an shtml file
it would be "#include http://data.pilotonline.com/connect2/blue_header.html"
but I need to know how this is done in Python scripting. This script is
being embedded in a template for a classifieds page. I have something like
this so far:
<html><head><title><!--#var name--> Search Results</title></head>
<!--#if mainclass == Employment:-->
<!--#include http://data.pilotonline.com/connect2/blue_header.html-->
<!--#else:-->
<!--#include http://data.pilotonline.com/connect2/default_header.html-->
<font size="+1">Main classification: <!--#var mainclass--> .....
I just need to know If that is how #include works, or is there some other
way that this is supposed to be done. Please let me know as soon as
possible. I don't check the email address in the sig over the weekend, so
please send any emails to webolutionary@webolutionary.com
--
Sean Robertson
Multimedia Artist, PilotOnline.com
seanr@infi.net
would be "<cfinclude template="blue_header_noad.html">" and in an shtml file
it would be "#include http://data.pilotonline.com/connect2/blue_header.html"
but I need to know how this is done in Python scripting. This script is
being embedded in a template for a classifieds page. I have something like
this so far:
<html><head><title><!--#var name--> Search Results</title></head>
<!--#if mainclass == Employment:-->
<!--#include http://data.pilotonline.com/connect2/blue_header.html-->
<!--#else:-->
<!--#include http://data.pilotonline.com/connect2/default_header.html-->
<font size="+1">Main classification: <!--#var mainclass--> .....
I just need to know If that is how #include works, or is there some other
way that this is supposed to be done. Please let me know as soon as
possible. I don't check the email address in the sig over the weekend, so
please send any emails to webolutionary@webolutionary.com
--
Sean Robertson
Multimedia Artist, PilotOnline.com
seanr@infi.net