On 9/15/13, zzzhhh <[email protected]> wrote:
> Thank you. I just studied the link you gave me. There are two problems:
> (1) It seems that the python code runs like php. How to config the web
> server to associate url with the python code? For example, for the
> ToJSonResponse
> Example, how to let the web server to run python code when user input
> http://google-visualization.appspot.com/python/dynamic_example in the
> browser? PS: this link seems not working.
> (2) It seems that the technique introduced in the webpage just converts
> python's binary data to text strings by a call to *print* function. Is
> there any other technology that can directly transmit python's binary data
> to google.visualization?
> Thank you.
>

<ot>
This is a general Python question. You could use

  (1) WSGI
  (2) CGI (which usually involves wrapping WSGI app using
       wsgiref.handlers.CGIHandler or alike)
  (3) a web framework

In all cases there are different setup steps depending on web server
used for deployment . Option (2) might be the fastest among all under
certain conditions, but is often less efficient than the others.
</ot>

-- 
Regards,

Olemis - @olemislc

Apache™ Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
TuxInfo 61 : Instalando Apache™ Bloodhound 0.7 -
goo.gl/fb/Ssu06

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to