If you use Cheetah, please support the project and register by clicking here:


12.2 Setting the sh-bang: #shBang

Including

#shBang #!/usr/local/bin/python2.3

in your Cheetah .tmpl file will result in

#!/usr/local/bin/python2.3

being appended to the top of the .py module file that Cheetah's compiler generates.

The default sh-bang is

#!/usr/bin/env python

If you use Cheetah, please support the project and register by clicking here: