def __init__(self):
self.today_stock=ts.get_today_all()
now=datetime.datetime.now()
self.today=now.strftime("%Y-%m-%d")
#weekday=now+datetime.timedelta(days=-2)
#weekday=weekday.strftime("%Y-%m-%d")
#print weekday
#today=now.strftime('%Y-%m-%d')
self.path=os.path.join(os.getcwd(),'data')
self.filename=os.path.join(self.path,'recordMyChoice.xls')
评论列表
文章目录