Menu-based command-line framework in Python, in an effort to learn Python