Persistent python object and the Web

bruno modulix onurb at xiludom.gro
Fri Apr 22 06:27:48 EDT 2005


ramon.aragues at gmail.com wrote:
> Hi,
> 
> I'd like to know if I am trying to do something impossible or I am just
> being unable to find how to do it. In the latter case, please... help
> me...
> 
(snip)
 >
> My problem is that I don't know how to create a graph_object that
> remains persistent through time (it has to be the same graph_object for
> the first command as for the last one "pushed" by the user). I want to
> be able to create the object when the user enters the web page (by
> calling graph_object = Graph(id="graph1")) and then make calls to
> graph_object methods when the user pushes a button.
> 
> I'm using python2.3, mod_python and Apache.
> 
You may want to have a look at ZODB - the Zope object database. It has 
been developped for Zope, but can be used without.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for 
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list