Re: [web2py] execute python script

2018-03-28 Thread Richard Vézina
It depends... This is a start if you want to create CSV type of file : ```python # The code below is greatly inspired by gluon/sqlhtml.py class ExporterTSV and ExporterCSV import cStringIO out = cStringIO.StringIO() final = cStringIO.StringIO() import csv if csv_or_xls ==

[web2py] execute python script

2018-03-28 Thread ArtDijk
LS, I've written a print to pdf python script. How can I execute this script via a button on a web2py screen? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues)