12306/run.py

22 lines
399 B
Python
Raw Normal View History

2017-05-17 12:32:37 +00:00
# -*- coding=utf-8 -*-
from config.emailConf import sendEmail
2019-01-16 05:48:27 +00:00
from config.pushbearConf import sendPushBear
from init import select_ticket_info
2017-05-17 12:32:37 +00:00
def run():
select_ticket_info.select().main()
2018-08-31 02:15:04 +00:00
def Email():
sendEmail(u"订票小助手测试一下")
2018-01-13 01:53:36 +00:00
2019-01-16 05:48:27 +00:00
def PushbearConf():
sendPushBear("订票小助手测试一下")
2018-01-13 01:53:36 +00:00
if __name__ == '__main__':
run()
2019-01-16 05:48:27 +00:00
# Email()
# PushbearConf()