What is difficult is communicating asynchronously with the script. 
You can use processing.Popen to start the script. Here is an example inside 
existing web2py code:

https://github.com/web2py/web2py/blob/master/applications/admin/controllers/gae.py#L77


On Tuesday, 9 July 2013 06:43:39 UTC-5, viniciusban wrote:
>
> Yes, it is possible. 
>
> I answered the same question yesterday, in another thread. 
>
> On Tue, Jul 9, 2013 at 7:39 AM, Rohitraj Sharma 
> <[email protected] <javascript:>> wrote: 
> > Can it is possible in web2py to run any external script by clicking on 
> > button . I have a script which read csv file and split into parts. I 
> want to 
> > add that script in web2py frame work. Can it possible or not. 
> > Exapmle i have file test.py inside the static folder when ever i will 
> click 
> > on button in view that script should run. 
> > 
> > -- 
> > 
> > --- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "web2py-users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 

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


Reply via email to