git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1867 fd906abe-77d9-0310-91a1-e0d9ade77398 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| browser.py | ||
| configure.zcml | ||
| cybertools.pyscript-configure.zcml | ||
| edit.pt | ||
| interfaces.py | ||
| README.txt | ||
| script.py | ||
| tests.py | ||
Python Page
===========
Python Page provides the user with a content object that interprets
Python in content space. To save typing and useless messing with
output, any free-standing string and print statement are considered
for output; see the example below.
Example
-------
Create a new content type called "Python Page" and enter the following
code example::
'''
<html>
<body>
<ul>
'''
import time
print time.asctime()
'''
</ul>
</body>
</html>
'''