Creating temperory files for a web application

sserrano sebastian.serrano at gmail.com
Sun May 17 18:34:37 EDT 2009


I would use a js plotting library, like http://code.google.com/p/flot/

On 8 mayo, 06:26, koranthala <koranth... at gmail.com> wrote:
> Hi,
>    I am doing web development using Django. I need to create an image
> (chart) and show it to the users - based on some data which user
> selects.
>    My question is - how do I create a temporary image for the user? I
> thought of tempfile, but I think it will be deleted once the process
> is done - which would happen by the time user starts seeing the image.
> I can think of no other option other than to have another script which
> will delete all images based on time of creation.
>    Since python is extensively used for web development, I guess this
> should be an usual scenario for many people here. How do you usually
> handle this?




More information about the Python-list mailing list