|
 |
 |
 |
Examples
|
[[ Spyce ]]
Python Server Pages by Rimon Barr |
examples/includestatic.spy
|
<html><body>
[[x=1]]
main file<br>
x=[[=x]]<br>
<hr>
[[.include file="includestatic.spi"]]
<hr>
main file again<br>
x=[[=x]]
</body></html>
|
Run this code.
(requires Spyce-enabled web server)
|
Supplemental files:
examples/includestatic.spi
|
begin included file<br>
changing value of x<br>
[[x=2]]
end included file<br>
|
Back to List of Examples
|