Using Substrings In Python A Namespace