Files
py12306/main.py
2019-01-07 14:01:19 +08:00

23 lines
417 B
Python

# encoding=utf8
import os
from threading import Thread
from py12306.helpers.func import *
from py12306.query.query import Query
from py12306.user.user import User
def main():
# Thread(target=Query.run).start() # 余票查询
# create_thread_and_run(User, 'run', wait=False)
User.run()
Query.run()
# Query.run()
while True:
sleep(1)
pass
if __name__ == '__main__':
main()