import calculator

def main():
    try:
        p = calculator.Parser()
    except:
        p = calculator.Parser()
    p.run()

if __name__ == '__main__':
    main()
import calculator

def main():
    try:
        p = calculator.Parser()
    except:
        p = calculator.Parser()
    p.run()

if __name__ == '__main__':
    main()