Hi

2009/12/15 Clemens Weninger <[email protected]>:
> Hello everybody,
> I am trying to generate dynamic graphs with rrdtool python bindings
> and display them with a django web page.
> I don't want to save the created picture, but create them on the fly.
>
> In PHP there was the way of calling rrdtool graph - <options> and
> putting header("Content-type: image/gif"); in front of it.
>
> Is there a similar way with the python bindings to direct the output of
> rrdtool.graph() directly to the web page?

You should have a look at the pylons framework ; which let you do
stuff like that quite easily.

Otherwise, you can't modify html headers directly, as least not as
easily as with PHP

Jean-Yves

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to