You could do that with Mako template engine. Read namespaces related documentation for more info: http://www.makotemplates.org/docs/namespaces.html
> anyway, how do i access pythoncode from my html-pages? > > i have main-file and a templates-directory and the site is upa nd > running. > > can i write ina html-file something like import file file.func() ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
