web2py to do so

import os
command="psql -U marcelo -c select
call_inicio,call_duracion,call_timedura,call_num_destino,call_dialstatus,call_valor,call_ip
from llamadas_moviles WHERE call_fecha >= '2010-7-5' and call_fecha <=
'2010-7-11' order by call_inicio" chips > /var/www/downloads/
13072010.csv"
os.system(command)

i get error in form

Reply via email to