Giter Site home page Giter Site logo

ucas_rushbuy_ticket's Introduction

ucas_rushBuy_ticket

快速qiangpiao程序

目前仅支持python2,仅支持微信支付,使用之前请详细阅读README.md

使用步骤

依赖库 requests,pillow,qrcode

# 安装库依赖
pip install requests 
pip install pillow 
pip install qrcode 

# 请确保你的requests是最新版的(老版本存在一些bug),如果不是最新版,用如下命令升级
pip install --upgrade requests 

修改配置文件config

[logininfo]
username = 学校统一验证平台的邮箱
password = 你的密码

运行

➜ ucas_rushBuy_ticket git:(master) ✗ python   buyTicket.py
Hi, username: ***********
Password: ******************
Buy bus ticket system
Will use student number 2017E8018661119 to buy a bus ticket.


Login success
[1]:2017-09-28 Thursday
[2]:2017-09-29 Friday
[3]:2017-09-30 Saturday
[4]:2017-10-01 Sunday
hello **********,please choose  the sequence number of the time to take the bus (1-4):

选择你要坐车的时间前面的序号,也就是1-4。

hello ******,please choose  the sequence number of the time to take the bus (1-4):3
[1]:雁栖湖—玉泉路7:20(周末)
[2]:雁栖湖—奥运村7:20(周末)
[3]:雁栖湖—玉泉路13:00(周末)
[4]:雁栖湖—玉泉路15:40(周末)
[5]:玉泉路—雁栖湖6:30(周末)
[6]:玉泉路—雁栖湖10:00(周末)
[7]:玉泉路—雁栖湖15:00(周末)
[8]:奥运村—雁栖湖15:50(周末)
hello ************,please choose  the sequence number of the route to take the bus (1-8):

跟上面一样,输入你要乘坐的路线前面的序号。

输入序号后,扫描终端中出现的二维码,进行支付。如果二维码在你的终端里显示的效果不是很好,

可以直接扫描目录下生成的bug.png

效果演示

asciicast

ucas_rushbuy_ticket's People

Watchers

Carronge avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.