Case Condition In Python A Namespace