On Wednesday, August 24, 2011 11:55:56 AM UTC-4, Richard wrote:
>
>  Anthony, Richard,
>
> Thank you for the feedback.
>
> Getting the png file from the static area could be done, and how do I get 
> the dynamically create file in that static area?
> What would the output path be in :     
>
>     grdevices.png(file="/tmp/rweb2output.png" , width=512, height=512)
>
 
For the path to save the file:
 
import os
file=os.path.join(request.folder,'static','tmp','rweb2output.png')
 
 
request.folder should contain the full path to your application folder. Then 
you just need to add 'static', 'tmp', and the filename to assemble the full 
path.
 
Anthony

Reply via email to