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
评论列表
文章目录