This is the template I've been using for my paster commands. https://gist.github.com/981224
If you don't want the paster stuff, the loadapp and threadlocal_manager bits are the important ones. Kai On Thu, May 19, 2011 at 11:29 AM, Gopalakrishnan S < [email protected]> wrote: > I have a stand-alone python program which needs the pyramid to be > initialised so that it can take use of models, sessions, etc without > serving web request.. > > Is it possible in Pyramid? I was using the same with pylons, wonder > how Pyramid support this. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
