t-time.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:t-time 作者: theandrewbailey 项目源码 文件源码
def __init__(self,outputName=None,agencyName=None,inputZip=None,_12hourClock=True):
        """initialize some variables. can specify a zip file that contains the feed, otherwise will read files from cwd. can set a few things here."""
        self.outputName=outputName
        self.agencyName=agencyName # <title> in html output
        self.inputZip=inputZip
        self._12hourClock=_12hourClock # TODO: Automatically determine this based on current locale (python makes this unclear)
        self.selectedRoutes=() # tuple of route IDs
        self.excludeStops={} # dictionary of route IDs to lists of stop IDs
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号