Hi,
Can we start a Python script from a widget on a button Click.
Say I will have a button and Textbox for location of the file.
I saw an earlier post on this in the community, but there was not satisfactory answer.
Note: our python script is reading attributes data and writing excel files
Thanks
Muralidhar Moka.
No python is a server script that has file system access and can not run on a client web application locally. The only way you can get Python code to run in a widget is to publish a Geoprocessor service that calls the Python script to your server and then access that GP service from your widget or the WAB GP widget.