Giter Club home page Giter Club logo

Comments (3)

V-I-C-T-O-R avatar V-I-C-T-O-R commented on June 16, 2024

@chenzhuo2016 麻烦贴出具体的抛异常提示

from 12306.

chenzhuo2016 avatar chenzhuo2016 commented on June 16, 2024

Traceback (most recent call last):
File "F:/Python Project/12306-master/train/query/Query.py", line 209, in
Query.outputPretty('2019-02-12', '重庆', '上海')
File "F:/Python Project/12306-master/train/query/Query.py", line 137, in outputPretty
for ticket in Query.query(1, base_query_url, trainDate, fromStation, toStation, passengerType):
File "F:/Python Project/12306-master/train/query/Query.py", line 124, in __decode
ticket.startStation = code2city(ticket.startStationCode)
File "F:\Python Project\12306-master\conf\city_code.py", line 5364, in code2city
return CITY_NAME[CITY_CODE.index(cityCode)]
ValueError: 'CXW' is not in list

贴不鸟图 估计在这儿

from 12306.

V-I-C-T-O-R avatar V-I-C-T-O-R commented on June 16, 2024

@chenzhuo2016 你更新一下代码(你的运气真好,刚刚重庆西站没有)-_-

from 12306.

Related Issues (20)

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.