On 7 May 2011 19:33, BadKnees <[email protected]> wrote: > Sorry, the renderer should look like this. We need to open the file in > the _render function. Otherwise it wont be read everytime.
Actually, you can use f.seek(0) to get the file pointer back to the beginning of the file. Of course this is in a web app, where each request is a full iteration of the application, so I'm not sure that f.seek(0) would be of much use. It depends on how you're using it. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [email protected] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org) -- 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.
