Did I find the right examples for you? yes no

All Samples(17)  |  Call(0)  |  Derive(0)  |  Import(17)
Cheetah is an open source template engine and code generation tool.

It can be used standalone or combined with other tools and frameworks. Web
development is its principle use, but Cheetah is very flexible and is also being
used to generate C++ game code, Java, sql, form emails and even Python code.

Homepage
    http://www.cheetahtemplate.org/

Documentation(more...)

src/i/w/iw.email-1.4/iw/email/__init__.py   iw.email(Download)
 
try:
    import Cheetah
except ImportError:
    log.warn('Cheetah is not available')

src/t/a/Tahchee-1.0.0/Sources/tahchee/main.py   Tahchee(Download)
 
try:
	import Cheetah
	from Cheetah.Template import Template
	from Cheetah.Compiler import Compiler

src/c/o/cobbler-HEAD/cobbler/templar.py   cobbler(Download)
import string
 
import Cheetah
major, minor, release = Cheetah.Version.split('.')[0:3]
fix_cheetah_class = int(major) >= 2 and int(minor) >= 4 and int(release) >= 2

src/c/o/cobbler-HEAD/bin/tftpd.py   cobbler(Download)
import tornado.ioloop as ioloop
import cobbler.templar
import Cheetah      # need exception types
 
from struct import pack, unpack

src/t/e/Tenjin-1.1.1/benchmark/bench.py   Tenjin(Download)
        try:
            import_module('Cheetah')
            if 'Cheetah' not in globals(): import Cheetah    # why?
            cls().create_template()  # create template
            filename = cls.template_filename

src/d/a/daily-spent-0.1-alpha/src/run.py   daily-spent(Download)
import sys
import os
import cherrypy
import sqlalchemy
import Cheetah

src/s/i/Sick-Beard-HEAD/SickBeard.py   Sick-Beard(Download)
 
try:
    import Cheetah
    if Cheetah.Version[0] != '2':
        raise ValueError

src/s/a/sabnzbd-HEAD/SABnzbd.py   sabnzbd(Download)
 
try:
    import Cheetah
    if Cheetah.Version[0] != '2':
        raise ValueError

src/n/o/NOT_UPDATED_Sick-Beard-Dutch-HEAD/SickBeard.py   NOT_UPDATED_Sick-Beard-Dutch(Download)
 
try:
    import Cheetah
    if Cheetah.Version[0] != '2':
        raise ValueError

src/m/y/mython-HEAD/basil/lang/tests/test_cheetah.py   mython(Download)
 
try:
    import Cheetah
except ImportError:
    Cheetah = None

  1 | 2  Next