Giter VIP home page Giter VIP logo

check_trains_tickets's Introduction

该程序是学习protream的,我自己重构学习了一下。 一、使用方法两种,一个是:python3 ticket.py 广州 桂林 2017-03-15 另外一种是用setuptools安装过之后的,直接:ticket 广州 桂林 2017-03-15。 详细看图片即可。

二、文件结构 1、ticket.py 是主要函数文件 2、get_check_stations_data.py 爬取数据的 3、format_data.py 格式化查询火车返回的信息,加颜色,边框等等 4、stations.py 这个保存的是火车的车站和对应的单词代表 5、search.py 这个是爬取数据的json格式 6、build,dist,ticksetsegg-info 三个文件夹是用python3 setup.py install产生的 7、__pycache__是python3执行产生的 8、parse_staion.py是爬取火车站和其对应的缩写字母. 9、setup.py 是用来打包的。python3 setup.py install

check_trains_tickets's People

Contributors

kkfuwfny avatar

Watchers

James Cloos avatar  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.