Python Method Chaining Python Idle Web