On Fri, Nov 28, 2008 at 3:55 PM, spir <[EMAIL PROTECTED]> wrote:
> I try to find a way to give a cutom type ('s instances) attributes like some
> built-in types have, for instance __name__. (For any reason, such attributes
> are not equally shared by all kinds of objects.)
> I tried to achieve that
Hello,
I try to find a way to give a cutom type ('s instances) attributes like some
built-in types have, for instance __name__. (For any reason, such attributes
are not equally shared by all kinds of objects.)
I tried to achieve that with inheritance, but I couldn't make it work with
built-in
"Jason DeBord" <[EMAIL PROTECTED]> wrote
in using Python instead of PHP and would like to use Python's
template style
as well as a framework such as Pylons or Django.
I can't speak for those two but ISTR that TurboGears had a fairly
comprehensive set of notes on how to configure with lots of
Wsgi is also more portable than mod_python: mod_python is solely
available on the Apache httpd, whereas wsgi is available on many more.
---
Richard "Roadie Rich" Lovely
Part of the JNP|UK Famille
www.theJNP.com
(Sent from my iPod - please allow me a few typos: it's a very small
keyboard)
O
mod_wsgi is another option that supposedly has a smaller memory footprint
and, in my case, proved easier to configure than mod_python
http://code.google.com/p/modwsgi/
http://code.djangoproject.com/wiki/django_apache_and_mod_wsgi
___
Tutor maillist -
Is mod_python the only way to integrate python and apache2 ? I am interested
in using Python instead of PHP and would like to use Python's template style
as well as a framework such as Pylons or Django.
Thanks in advance!
--
- - - - - - - - - - - - -
Jason
Limoges, France
___