Re: Compiled .py in other directory
Jean-Baptiste Quenot <[email protected]> Wed, 22 Jul 2009 18:07:11 +0200
| Newsgroups | gmane.comp.python.cheetah |
|---|---|
| Message-ID | <[email protected]> |
2009/7/19 Christian-Peter Weiss <[email protected]>: > Hello! > > With the cheetah compile command i can put the *.py files in another > directory, but I have not found an explanation, how to tell the > Template-Engine in the Python Code, how to find them in the other > directory, so how cann I do that? Set environment variable PYTHONPATH when starting your application or append your custom directory path to sys.path at runtime. -- Jean-Baptiste Quenot http://jbq.caraldi.com/ ------------------------------------------------------------------------------