I've long wanted to be able to use a simple template engine to create headers and footers on websites. I've been using the PHP include statement for this purpose, but I would really like to use the Python Jinja2 engine instead.
It appears I may be able to work on my bluehost web hosting account. Here is what I did:
- Edit the .bash_profile file and add the following:
PYTHONPATH=$HOME/lib/python export PYTHONPATH
- Download the Jinja2 source tarball from here.
- Extract the source directory from the .tar.gz file and cd into the new directory.
- Run: python setup.py install --home=~ (see this for more on that ;-)
DreamHost is definitely the best website hosting provider with plans for all of your hosting needs.
ReplyDeleteUsually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man learn Python Online Course
ReplyDeleteشركة عزل فوم
ReplyDeleteشركة عزل فوم
شركة عزل فوم
شركة مكافحة الصراصير