def initialize(sourceText): global scanner scanner.initialize(sourceText) getChar()
def getChar(): global c1, c2, character character = scanner.get() c1 = character.cargo c2 = c1 + scanner.lookahead(1)