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
| launchctl stop com.mcafee.menulet | |
| launchctl stop com.mcafee.reporter | |
| launchctl remove com.mcafee.menulet | |
| launchctl remove com.mcafee.reporter | |
| sudo su - | |
| launchctl stop com.mcafee.virusscan.fmpd | |
| launchctl stop com.mcafee.ssm.ScanManager |
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 无座 |
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
| # -*- coding: UTF-8 -*- | |
| import zipfile | |
| import biplist | |
| import tempfile | |
| import shutil | |
| import re | |
| import os | |