cybertools/pyscript/README.txt
helmutm dc7aa556c5 new package pyscript, derived from zope.app.PythonPage
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1867 fd906abe-77d9-0310-91a1-e0d9ade77398
2007-08-02 20:19:39 +00:00

29 lines
496 B
Text

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>
'''