Robin Haswell <[EMAIL PROTECTED]> writes: > Hack :-) > > I could do that, but I'd honestly rather do it properly. Also this
It is done properly here. The activity required: - access control - database access - templating for the email output So, if I have all that with TG, why not use it? If I didn't want something accessible through the web, I'd create some special group for these automated tasks and that would be it. If I wanted something other than what Kid templates provide, I could have used Cheetah... > nightly is gonna be a lot of code, I'd rather not have it hanging around > in memory when it's not being used. You know python will reuse memory, right? You instantiate the class, do what you have to do and when it goes out of scope it is garbage collected. You could, also, "del()" the instantiated classes to allow this memory to be used by other parts of your system. But, if you find it better to write code outside of this environment and replicate all what TG already does, then go for it! -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

