1 Star 0 Fork 19

豆花饭 / 12306-ticket-query

forked from cls1991 / 12306-ticket-query
暂停
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.py 400 Bytes
一键复制 编辑 原始数据 按行查看 历史
cls1991 提交于 2017-04-10 11:25 . 简单添加邮件订阅
# coding: utf8
import os
# 切换工作目录到项目根目录
project = os.path.split(os.path.realpath(__file__))[0]
os.chdir(project)
from core.query import query_tickets
def main():
"""
test main
"""
from_station = "北京"
to_station = "武汉"
train_date = "2017-04-10"
query_tickets(from_station, to_station, train_date)
if __name__ == '__main__':
main()
Python
1
https://gitee.com/os621/12306-ticket-query.git
git@gitee.com:os621/12306-ticket-query.git
os621
12306-ticket-query
12306-ticket-query
master

搜索帮助