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.

On Saturday, September 14, 2013 11:46:15 PM UTC-4, asgallant wrote:

> I'm not a python developer, so I can't help you with that, but you might 
> want to look into the Python Datasource 
> Library<https://developers.google.com/chart/interactive/docs/dev/gviz_api_lib>,
>  
> which is designed to handle database queries and return data in the 
> appropriate format.
>
> On Saturday, September 14, 2013 11:36:21 PM UTC-4, zzzhhh wrote:
>>
>> Now I have a python program that generates data which I want to display 
>> using google chart. I studied the page 
>> https://google-developers.appspot.com/chart/interactive/docs/php_example, 
>> but 
>> it uses php running on the web server to return the dynamically generated 
>> data. I don't know php. How to use python then (the python code is running 
>> on the web server, not the client side)? Is there any examples? Thank you.
>>
>

-- 
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