I was looking to use the python shell to generate the final HTML that
is rendered in a browser:

Let me explain:

Normally in web2py:
the URL "http://www.misite.com/app/default/index"; maps to a python
function and uses an appropriate view file to return HTML/XML/JSON...
data.

I wanted to use the python shell to do all the processing to generate
the final data.

For example:

>>> python_function(app.default.index) should return the processed 
>>> HTML/XML/JSON exactly what the URL

I am sure that the web2py python web-server uses some python functions
internally. Is it possible to use those explicitly?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to