how to put code on the google app and run it
contro opinion
contropinion at gmail.com
Wed Jan 11 02:13:43 EST 2012
there is a simple code,which can run locally ,and get three csv file in
c:/
#coding:utf-8
import urllib
import re
import os
exchange=['NASDAQ','NYSE','AMEX']
for down in exchange:
myfile=open('c:/'+down,'w')
url='
http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange='+down+'&render=download
'
file=urllib.urlopen(url).read()
myfile.write(file)
print 'ok',down
myfile.close()
i want to upload it onto my google app (i have one google app account)and
let it run on 4 o'clock (with cron) ,and let the downloaded data on my
google app,
how to do ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120111/7e91e56e/attachment.html>
More information about the Python-list
mailing list