This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Python 3.5的安装包在Windows下弹出"The TARGETDIR variable must be provided when invoking this installer"错误, | |
| 此时可以在命令模式下安装,打开cmd,在Python3.5的安装包目录下运行: | |
| python-3.5.3.exe InstallAllUsers=1 TargetDir="c:\python3.5" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def getTicketCount(yp_info): | |
| """ | |
| 从余票字符串中获得余票数据。 | |
| 余票信息字符串如下: | |
| 1018053038405095000010180500003032150000 | |
| O055300502M0933000989174800019 | |
| 返回的是一个余票字典,并不是很全面,只取了我需要的类型,如下 | |
| ZY 一等座 | |
| ZE 二等座 | |
| WZ 无座 |